-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Description
I'm doing something wrong but don't know what. I'm trying to replicate tiny-hello example but get this error:
error: linking with `rust-lld` failed: exit status: 1
= note: rust-lld: error: unknown argument '-nostartfiles'
When I remove the
println!("cargo:rustc-link-arg=-nostartfiles");
from the build.rs, the resulting binary has no .text section at all.
I'm compiling with nightly and use origin = { version = "0.24.0", default-features = false, features = ["origin-start", "nightly"] }.
Thanks for your help :)
Metadata
Metadata
Assignees
Labels
No labels