diff options
| author | Wilfred Hughes <wilfred@meta.com> | 2024-10-23 16:37:42 -0700 |
|---|---|---|
| committer | Wilfred Hughes <wilfred@meta.com> | 2024-10-23 16:43:08 -0700 |
| commit | c93514b67c51b123abd29d591f57abfdb81f8c03 (patch) | |
| tree | 9b30664b1341d518138895747176d047f9d8a938 /compiler/rustc_llvm/llvm-wrapper/SymbolWrapper.cpp | |
| parent | 1fbaccd893b8d0f393c14e94d8fbfe0c601c2e8f (diff) | |
| download | rust-c93514b67c51b123abd29d591f57abfdb81f8c03.tar.gz rust-c93514b67c51b123abd29d591f57abfdb81f8c03.zip | |
fix: Add missing cfg flags for `core` crate
Some types in `core` are conditionally compiled based on `target_has_atomic` or `target_has_atomic_load_store` without an argument, for example `AtomicU64`. This is less noticeable in Cargo projects, where rust-analyzer adds the output `RUSTC_BOOTSTRAP=1 cargo rustc --print cfg` so it gets the full set of cfg flags. This fixes go-to-definition on `std::sync::atomic::AtomicU64` in non-cargo projects.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/SymbolWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
