env_logger: 0.8.2 fails to compile with rustc 1.48.0 due to unknown codegen option
Compiling env_logger v0.8.2
error: unknown codegen option: `embed-bitcode`
error: could not compile `env_logger`
$ rustc --version
rustc 1.48.0 (7eac88abb 2020-11-16)
$ cargo --version
cargo 1.48.0 (65cbdd2dc 2020-10-14)
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Reactions: 1
- Comments: 23 (13 by maintainers)
No problem, great that it worked out!
The
output.txtcontains nothing more that the error that I am getting in the terminal.When the errors happens, no
targetfolder is created at all.The following is the contents of
target/.rustc_info.jsonafter the successful build (when deleting therust-toolchainfile):I am also attaching the
output.txtof the successful build.output.txt
My Debian installation is a stock Debian stable (with all the latest updates). Nothing special.
Release it out.
Done in eed165155261fcb31f6648485462b9ee3c0ab670. I’ll try to do a release in the coming days, feel free to ping me if I still haven’t gotten to it next week.
Removing the
rust-toolchainfrom the crates.io release should be easy enough and I don’t see a reason not to do that 👍🏼env_loggerdoesn’t have a build script or anything else that I can see that could cause this. The stringbitcodedoesn’t appear anywhere inside this repository. I would recommend you ask for help about this on users.rust-lang.org, Discord, reddit or some other place for general help and advice about Rust.