Closed
Description
After upgrading our toolchains from 1.53.0
to 1.54.0
, our bootloader rust crates stopped building.
Instead, the build command produced the error message LLVM ERROR: Invalid LLVMRustVisibility value!
.
Code
As these are a closed-source projects I cannot share any code publicly, but it can be shared privately if necessary.
I expected to see this happen: the build to succeed
Instead, this happened: the build failed
Version it worked on
It most recently worked on: Rust 1.53
Version with regression
rustc --version --verbose
:
rustc 1.54.0 (a178d0322 2021-07-26)
binary: rustc
commit-hash: a178d0322ce20e33eac124758e837cbd80a6f633
commit-date: 2021-07-26
host: x86_64-unknown-linux-gnu
release: 1.54.0
LLVM version: 12.0.1
Backtrace
The compiler did not crash or produce a backtrace.