[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 26/40] rust: fix cfgs of proc-macro2 for 1.63.0
From: |
Paolo Bonzini |
Subject: |
[PULL 26/40] rust: fix cfgs of proc-macro2 for 1.63.0 |
Date: |
Mon, 4 Nov 2024 18:27:05 +0100 |
Replay the configuration that would be computed by build.rs when compiling
on a 1.63.0 compiler.
Reviewed-by: Junjie Mao <junjie.mao@hotmail.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
---
subprojects/packagefiles/proc-macro2-1-rs/meson.build | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/subprojects/packagefiles/proc-macro2-1-rs/meson.build
b/subprojects/packagefiles/proc-macro2-1-rs/meson.build
index 818ec59336b..8e601b50ccc 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: [
--
2.47.0
- [PULL 14/40] rust: clean up define_property macro, (continued)
- [PULL 14/40] rust: clean up define_property macro, Paolo Bonzini, 2024/11/04
- [PULL 18/40] rust: add definitions for vmstate, Paolo Bonzini, 2024/11/04
- [PULL 20/40] rust/pl011: add support for migration, Paolo Bonzini, 2024/11/04
- [PULL 22/40] rust/pl011: add TYPE_PL011_LUMINARY device, Paolo Bonzini, 2024/11/04
- [PULL 21/40] rust/pl011: move CLK_NAME static to function scope, Paolo Bonzini, 2024/11/04
- [PULL 23/40] rust/pl011: remove commented out C code, Paolo Bonzini, 2024/11/04
- [PULL 24/40] rust/pl011: Use correct masks for IBRD and FBRD, Paolo Bonzini, 2024/11/04
- [PULL 25/40] rust: patch bilge-impl to allow compilation with 1.63.0, Paolo Bonzini, 2024/11/04
- [PULL 28/40] rust: introduce a c_str macro, Paolo Bonzini, 2024/11/04
- [PULL 27/40] rust: use std::os::raw instead of core::ffi, Paolo Bonzini, 2024/11/04
- [PULL 26/40] rust: fix cfgs of proc-macro2 for 1.63.0,
Paolo Bonzini <=
- [PULL 30/40] rust: synchronize dependencies between subprojects and Cargo.lock, Paolo Bonzini, 2024/11/04
- [PULL 29/40] rust: silence unknown warnings for the sake of old compilers, Paolo Bonzini, 2024/11/04
- [PULL 31/40] rust: create a cargo workspace, Paolo Bonzini, 2024/11/04
- [PULL 33/40] rust: do not use MaybeUninit::zeroed(), Paolo Bonzini, 2024/11/04
- [PULL 32/40] rust: introduce alternative implementation of offset_of!, Paolo Bonzini, 2024/11/04
- [PULL 34/40] rust: clean up detection of the language, Paolo Bonzini, 2024/11/04
- [PULL 35/40] rust: allow version 1.63.0 of rustc, Paolo Bonzini, 2024/11/04