Skip to content

Commit b5cbb87

Browse files
committed
Merge commit '35d9c6bf256968e1b40e0d554607928bdf9cebea' into sync_cg_clif-2022-02-23
1 parent a063e13 commit b5cbb87

24 files changed

+842
-808
lines changed

Cargo.lock

Lines changed: 32 additions & 35 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,14 @@ crate-type = ["dylib"]
88

99
[dependencies]
1010
# These have to be in sync with each other
11-
cranelift-codegen = { version = "0.78.0", features = ["unwind", "all-arch"] }
12-
cranelift-frontend = "0.78.0"
13-
cranelift-module = "0.78.0"
14-
cranelift-native = "0.78.0"
15-
cranelift-jit = { version = "0.78.0", optional = true }
16-
cranelift-object = "0.78.0"
11+
cranelift-codegen = { version = "0.81.0", features = ["unwind", "all-arch"] }
12+
cranelift-frontend = "0.81.0"
13+
cranelift-module = "0.81.0"
14+
cranelift-native = "0.81.0"
15+
cranelift-jit = { version = "0.81.0", optional = true }
16+
cranelift-object = "0.81.0"
1717
target-lexicon = "0.12.0"
18-
gimli = { version = "0.25.0", default-features = false, features = ["write"]}
18+
gimli = { version = "0.26.0", default-features = false, features = ["write"]}
1919
object = { version = "0.27.0", default-features = false, features = ["std", "read_core", "write", "archive", "coff", "elf", "macho", "pe"] }
2020

2121
ar = { git = "https://github.com/bjorn3/rust-ar.git", branch = "do_not_remove_cg_clif_ranlib" }

build_sysroot/Cargo.lock

Lines changed: 13 additions & 13 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

build_system/build_backend.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ pub(crate) fn build_backend(
4949
cmd.env("RUSTFLAGS", rustflags);
5050

5151
eprintln!("[BUILD] rustc_codegen_cranelift");
52-
crate::utils::spawn_and_wait(cmd);
52+
super::utils::spawn_and_wait(cmd);
5353

5454
Path::new("target").join(host_triple).join(channel)
5555
}

build_system/build_sysroot.rs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ use std::fs;
33
use std::path::{Path, PathBuf};
44
use std::process::{self, Command};
55

6-
use crate::rustc_info::{get_file_name, get_rustc_version};
7-
use crate::utils::{spawn_and_wait, try_hard_link};
8-
use crate::SysrootKind;
6+
use super::rustc_info::{get_file_name, get_rustc_version};
7+
use super::utils::{spawn_and_wait, try_hard_link};
8+
use super::SysrootKind;
99

1010
pub(crate) fn build_sysroot(
1111
channel: &str,
@@ -52,7 +52,7 @@ pub(crate) fn build_sysroot(
5252
.arg("-g");
5353
spawn_and_wait(build_cargo_wrapper_cmd);
5454

55-
let default_sysroot = crate::rustc_info::get_default_sysroot();
55+
let default_sysroot = super::rustc_info::get_default_sysroot();
5656

5757
let rustlib = target_dir.join("lib").join("rustlib");
5858
let host_rustlib_lib = rustlib.join(host_triple).join("lib");
@@ -167,7 +167,7 @@ fn build_clif_sysroot_for_triple(
167167

168168
let build_dir = Path::new("build_sysroot").join("target").join(triple).join(channel);
169169

170-
if !crate::config::get_bool("keep_sysroot") {
170+
if !super::config::get_bool("keep_sysroot") {
171171
// Cleanup the target dir with the exception of build scripts and the incremental cache
172172
for dir in ["build", "deps", "examples", "native"] {
173173
if build_dir.join(dir).exists() {

0 commit comments

Comments
 (0)