diff --git a/.cargo/config b/.cargo/config new file mode 100644 index 000000000..ac01e73cc --- /dev/null +++ b/.cargo/config @@ -0,0 +1,2 @@ +[unstable] +extra-link-arg = true diff --git a/runkernel/.cargo/config b/runkernel/.cargo/config deleted file mode 100644 index a12e0fb88..000000000 --- a/runkernel/.cargo/config +++ /dev/null @@ -1,3 +0,0 @@ -[build] -rustflags = ["-C", "link-args=-rdynamic"] - diff --git a/runkernel/build.rs b/runkernel/build.rs new file mode 100644 index 000000000..538285b19 --- /dev/null +++ b/runkernel/build.rs @@ -0,0 +1,3 @@ +fn main() { + println!("cargo:rustc-link-arg=-rdynamic"); +}