Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Closed
Changes from 1 commit
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
d5d56d0
Stabilize `BinaryHeap::as_slice`
slanterns Apr 16, 2024
a272f8e
Update `./x fmt` command
ChrisDenton Jun 5, 2024
35130d7
Detect pub structs never constructed and unused associated constants …
mu001999 Jun 5, 2024
c0e2543
Simplify the rayon calls in the installer
cuviper Jun 5, 2024
c76e59e
prefer compile::stream_cargo for building tools
onur-ozkan Jun 6, 2024
26dc8bd
Stabilize Option::take_if
wutchzone Jun 6, 2024
9df648e
Stabilise c_unwind
nbdd0121 Aug 25, 2023
cbe1339
Remove c_unwind from tests and fix tests
nbdd0121 Aug 25, 2023
f544c4d
Add a hack to prevent proc_macro misopt in CI
nbdd0121 Dec 6, 2023
67f5dd1
Parse unsafe attributes
carbotaniuman Apr 21, 2024
c4de986
Disallow unsafe in derive
carbotaniuman Apr 23, 2024
6ec492f
Reorder `unsafe` macro cases
carbotaniuman Apr 25, 2024
48851d9
Add tests
carbotaniuman Apr 28, 2024
230b58f
Error on unsafe on non-unsafe attribute
carbotaniuman May 15, 2024
68719e0
Fix doc comment
carbotaniuman May 16, 2024
b82c524
Add double unsafe test
carbotaniuman May 16, 2024
87be1ba
Fix build
carbotaniuman May 21, 2024
8aa2553
Change comment to FIXME
carbotaniuman May 27, 2024
15f8ffe
Fix formatting
carbotaniuman May 27, 2024
1cc4e8c
Add unsafe to `ffi_pure` and `ffi_const`
carbotaniuman May 27, 2024
488fac9
Enable f16 in assembly on aarch64 platforms that support it
lengrongfu Jun 6, 2024
453093b
Remove extraneous attribute
carbotaniuman Jun 7, 2024
f83cdbd
Fix ordering
carbotaniuman Jun 7, 2024
f9104f0
Handle safe case
carbotaniuman Jun 7, 2024
7eff2d9
Do not pass source root when building run-make tests
Kobzol Jun 7, 2024
eac63b7
Rename `S` environment variable to `SOURCE_ROOT` in run-make tests
Kobzol Jun 7, 2024
3eb5341
Improve docs for using custom paths with `--emit`
Zalathar Jun 7, 2024
4ceed30
Rollup merge of #116088 - nbdd0121:unwind, r=Amanieu,RalfJung
matthiaskrgr Jun 7, 2024
f5a6b17
Rollup merge of #124012 - slanterns:as_slice_stabilize, r=BurntSushi
matthiaskrgr Jun 7, 2024
dc1e213
Rollup merge of #124214 - carbotaniuman:parse_unsafe_attrs, r=michael…
matthiaskrgr Jun 7, 2024
0ba6d73
Rollup merge of #125572 - mu001999-contrib:dead/enhance, r=pnkfelix
matthiaskrgr Jun 7, 2024
49031fd
Rollup merge of #125781 - onur-ozkan:improve-tool-builder, r=albertla…
matthiaskrgr Jun 7, 2024
072e800
Rollup merge of #126030 - ChrisDenton:update-wingen-readme, r=Mark-Si…
matthiaskrgr Jun 7, 2024
d736b83
Rollup merge of #126047 - cuviper:installer-try_for_each, r=albertlar…
matthiaskrgr Jun 7, 2024
ec5f93a
Rollup merge of #126070 - lengrongfu:feat/enable-f16, r=oli-obk
matthiaskrgr Jun 7, 2024
6784fce
Rollup merge of #126089 - wutchzone:option_take_if, r=scottmcm
matthiaskrgr Jun 7, 2024
5e143fa
Rollup merge of #126112 - Kobzol:runmake-source-root, r=jieyouxu
matthiaskrgr Jun 7, 2024
391c636
Rollup merge of #126119 - Zalathar:emit-filename, r=ehuss
matthiaskrgr Jun 7, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
prefer compile::stream_cargo for building tools
Previously, we were running bare commands for `ToolBuild` step and
were unable to utilize some of the flags which  are already handled by
`compile::stream_cargo`.

This change makes `ToolBuild` to use `compile::stream_cargo`, allowing us
to benefit from the flags supported by the bootstrap cargo.

Signed-off-by: onur-ozkan <[email protected]>
  • Loading branch information
onur-ozkan committed Jun 6, 2024
commit c76e59e71295677317389783ecb7b4ebb27f8535
4 changes: 1 addition & 3 deletions src/bootstrap/src/core/build_steps/tool.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ use crate::core::builder;
use crate::core::builder::{Builder, Cargo as CargoCommand, RunConfig, ShouldRun, Step};
use crate::core::config::TargetSelection;
use crate::utils::channel::GitInfo;
use crate::utils::exec::BootstrapCommand;
use crate::utils::helpers::output;
use crate::utils::helpers::{add_dylib_path, exe, t};
use crate::Compiler;
Expand Down Expand Up @@ -110,9 +109,8 @@ impl Step for ToolBuild {
&self.target,
);

let mut cargo = Command::from(cargo);
// we check this below
let build_success = builder.run_cmd(BootstrapCommand::from(&mut cargo).allow_failure());
let build_success = compile::stream_cargo(builder, cargo, vec![], &mut |_| {});

builder.save_toolstate(
tool,
Expand Down