Closed
Description
When compiling our project, many warnings regarding "no .rustc section" are printed.
To reproduce, please check out https://github.com/farmaazon/bug-repro , go to src/rust
directory and run cargo build
.
You should see some warning similar to
WARN rustc_metadata::locator no metadata found: no `.rustc` section in '<path-to-repo>/src/rust/target/debug/deps/libenso_shortcuts_examples.so'
As far as I checked, the warnings are not displayed when building crates separately.
Meta
rustc --version --verbose
:
rustc 1.58.0-nightly (c390d69a6 2021-10-28)
binary: rustc
commit-hash: c390d69a615f095208ac94841f3310268521b2ee
commit-date: 2021-10-28
host: x86_64-unknown-linux-gnu
release: 1.58.0-nightly
LLVM version: 13.0.0
The repository contains rust-toolchain file.