]>
git.proxmox.com Git - rustc.git/blob - compiler/rustc_codegen_cranelift/scripts/test_bootstrap.sh
9 echo "[TEST] Bootstrap of rustc"
10 git clone https
://github.com
/rust-lang
/rust.git || true
14 git checkout $
(rustc
-V | cut
-d' ' -f3 |
tr -d '(')
17 diff --git a/.gitmodules b/.gitmodules
18 index 984113151de..c1e9d960d56 100644
22 [submodule "src/doc/edition-guide"]
23 path = src/doc/edition-guide
24 url = https://github.com/rust-lang/edition-guide.git
25 -[submodule "src/llvm-project"]
26 - path = src/llvm-project
27 - url = https://github.com/rust-lang/llvm-project.git
28 - branch = rustc/11.0-2020-10-12
29 [submodule "src/doc/embedded-book"]
30 path = src/doc/embedded-book
31 url = https://github.com/rust-embedded/book.git
32 diff --git a/compiler/rustc_data_structures/Cargo.toml b/compiler/rustc_data_structures/Cargo.toml
33 index 23e689fcae7..5f077b765b6 100644
34 --- a/compiler/rustc_data_structures/Cargo.toml
35 +++ b/compiler/rustc_data_structures/Cargo.toml
36 @@ -32,7 +32,6 @@ tempfile = "3.0.5"
38 [dependencies.parking_lot]
40 -features = ["nightly"]
42 [target.'cfg(windows)'.dependencies]
43 winapi = { version = "0.3", features = ["fileapi", "psapi"] }
46 cat > config.toml
<<EOF
51 rustc = "$(pwd)/../build/cg_clif"
52 cargo = "$(rustup which cargo)"
57 codegen-backends = ["cranelift"]
60 rm -r compiler
/rustc_codegen_cranelift
/{Cargo.
*,src
}
61 cp ..
/Cargo.
* compiler
/rustc_codegen_cranelift
/
62 cp -r ..
/src compiler
/rustc_codegen_cranelift
/src
64 .
/x.py build
--stage 1 library
/std