summary refs log tree commit diff stats
path: root/subprojects/packagefiles/proc-macro2-1-rs/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'subprojects/packagefiles/proc-macro2-1-rs/meson.build')
-rw-r--r--subprojects/packagefiles/proc-macro2-1-rs/meson.build4
1 files changed, 3 insertions, 1 deletions
diff --git a/subprojects/packagefiles/proc-macro2-1-rs/meson.build b/subprojects/packagefiles/proc-macro2-1-rs/meson.build
index 818ec59336..8e601b50cc 100644
--- a/subprojects/packagefiles/proc-macro2-1-rs/meson.build
+++ b/subprojects/packagefiles/proc-macro2-1-rs/meson.build
@@ -15,7 +15,9 @@ _proc_macro2_rs = static_library(
   rust_abi: 'rust',
   rust_args: [
     '--cfg', 'feature="proc-macro"',
-    '--cfg', 'span_locations',
+    '--cfg', 'no_literal_byte_character',
+    '--cfg', 'no_literal_c_string',
+    '--cfg', 'no_source_text',
     '--cfg', 'wrap_proc_macro',
   ],
   dependencies: [