move the compiler-rt submodule to the root
This commit is contained in:
parent
bd9c835f44
commit
bce5fb5a6e
2
.gitmodules
vendored
2
.gitmodules
vendored
@ -1,3 +1,3 @@
|
|||||||
[submodule "compiler-rt/compiler-rt-cdylib/compiler-rt"]
|
[submodule "compiler-rt/compiler-rt-cdylib/compiler-rt"]
|
||||||
path = c/compiler-rt
|
path = compiler-rt
|
||||||
url = https://github.com/rust-lang/compiler-rt
|
url = https://github.com/rust-lang/compiler-rt
|
||||||
|
3
build.rs
3
build.rs
@ -37,7 +37,6 @@ mod c {
|
|||||||
|
|
||||||
use std::collections::BTreeMap;
|
use std::collections::BTreeMap;
|
||||||
use std::env;
|
use std::env;
|
||||||
use std::io::Write;
|
|
||||||
use std::path::Path;
|
use std::path::Path;
|
||||||
|
|
||||||
struct Sources {
|
struct Sources {
|
||||||
@ -413,7 +412,7 @@ mod c {
|
|||||||
Path::new(".")
|
Path::new(".")
|
||||||
};
|
};
|
||||||
|
|
||||||
let src_dir = root.join("c/compiler-rt/lib/builtins");
|
let src_dir = root.join("compiler-rt/lib/builtins");
|
||||||
for src in sources.map.values() {
|
for src in sources.map.values() {
|
||||||
let src = src_dir.join(src);
|
let src = src_dir.join(src);
|
||||||
cfg.file(&src);
|
cfg.file(&src);
|
||||||
|
Loading…
Reference in New Issue
Block a user