mirror of
https://github.com/Noratrieb/does-it-build.git
synced 2026-01-14 18:35:01 +01:00
delete core stuff
This commit is contained in:
parent
c90b94ee69
commit
8179082517
5 changed files with 28 additions and 88 deletions
|
|
@ -322,7 +322,7 @@ async fn build_target(tmpdir: &Path, toolchain: &Toolchain, target: &str) -> Res
|
|||
.wrap_err("spawning cargo build")
|
||||
}
|
||||
|
||||
let mut output = run(&toolchain, target, &mut rustflags, tmpdir, "-Zbuild-std").await?;
|
||||
let mut output = run(toolchain, target, &mut rustflags, tmpdir, "-Zbuild-std").await?;
|
||||
let mut stderr = String::from_utf8(output.stderr).wrap_err("cargo stderr utf8")?;
|
||||
|
||||
let status = if output.status.success() {
|
||||
|
|
@ -331,7 +331,7 @@ async fn build_target(tmpdir: &Path, toolchain: &Toolchain, target: &str) -> Res
|
|||
} else if stderr.contains("building std is not supported") {
|
||||
info!("Retrying build because std is not supported");
|
||||
output = run(
|
||||
&toolchain,
|
||||
toolchain,
|
||||
target,
|
||||
&mut rustflags,
|
||||
tmpdir,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue