forked from M-Labs/nac3
runkernel: sort out cargo rigmarole with rustc link arg
This commit is contained in:
parent
b37cf6de08
commit
da2886565b
2
.cargo/config
Normal file
2
.cargo/config
Normal file
@ -0,0 +1,2 @@
|
||||
[unstable]
|
||||
extra-link-arg = true
|
@ -1,3 +0,0 @@
|
||||
[build]
|
||||
rustflags = ["-C", "link-args=-rdynamic"]
|
||||
|
3
runkernel/build.rs
Normal file
3
runkernel/build.rs
Normal file
@ -0,0 +1,3 @@
|
||||
fn main() {
|
||||
println!("cargo:rustc-link-arg=-rdynamic");
|
||||
}
|
Loading…
Reference in New Issue
Block a user