You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This issue looks like the same one but closed #78210. I am creating a new issue because I don't know if it was fixed at that time or won't be fixed or just closed by accident.
Crate code
I created an empty project with this Cargo.toml file.
[package]
name = "broken"version = "0.1.0"edition = "2018"
[dependencies]
async-trait = "*"
[lib]
name = "broken"crate-type = ["staticlib", "rlib"]
This issue looks like the same one but closed #78210. I am creating a new issue because I don't know if it was fixed at that time or won't be fixed or just closed by accident.
Crate code
I created an empty project with this
Cargo.toml
file.And tried to build with
RUSTFLAGS="-C target-feature=+crt-static" cargo build
I expected to see this happen: successful build
Instead, this happened:
Version it worked on
It most recently worked on: 1.48
Version with regression
It doesn't work since 1.49 only in Linux.
It still works on macOS with any rust version.
rustc --version --verbose
:The text was updated successfully, but these errors were encountered: