mirror of
https://github.com/facebook/sapling.git
synced 2024-10-11 01:07:15 +03:00
473f262c65
Summary: rustc-1.30.0 tries to work out what the linker actually is from the name, and gets confused because the script we pass it is actually gcc (or clang), but has `ld` in the name. Update the command-line options to also pass `-Zlinker-flavor=gcc` to override the linker flavor inference. proc_macros are now stable. The `quote` crate has a dependency on the `proc_macro` which is now a shared object as part of the rustc distribution, which means that things using `quote` must have a runtime linkage with the rustc libraries. The Thrift `codegen` binary is the main thing affected by this, and I've hacked around it by putting an `LD_LIBRARY_PATH` in the Buck macros. Need to find a nicer fix though. rustc 1.30 now implements `#[macro_export(local_inner_macros)]`, which has strict semantics around namespaces and symbol hygiene, which doesn't work with common/rust/sql's macros. Work around this for now by just exporting everything. Reviewed By: kulshrax Differential Revision: D12811597 fbshipit-source-id: f18d12e6d99994876c29d3a6bd6ae43f1f37dd17 |
||
---|---|---|
.. | ||
chain | ||
context_futures.rs | ||
context_streams.rs | ||
lib.rs | ||
macros.rs | ||
slogkv.rs |