File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
src/bootstrap/src/core/builder Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -101,6 +101,7 @@ pub struct Cargo {
101
101
impl Cargo {
102
102
/// Calls [`Builder::cargo`] and [`Cargo::configure_linker`] to prepare an invocation of `cargo`
103
103
/// to be run.
104
+ #[ track_caller]
104
105
pub fn new (
105
106
builder : & Builder < ' _ > ,
106
107
compiler : Compiler ,
@@ -139,6 +140,7 @@ impl Cargo {
139
140
140
141
/// Same as [`Cargo::new`] except this one doesn't configure the linker with
141
142
/// [`Cargo::configure_linker`].
143
+ #[ track_caller]
142
144
pub fn new_for_mir_opt_tests (
143
145
builder : & Builder < ' _ > ,
144
146
compiler : Compiler ,
@@ -396,6 +398,7 @@ impl From<Cargo> for BootstrapCommand {
396
398
397
399
impl Builder < ' _ > {
398
400
/// Like [`Builder::cargo`], but only passes flags that are valid for all commands.
401
+ #[ track_caller]
399
402
pub fn bare_cargo (
400
403
& self ,
401
404
compiler : Compiler ,
@@ -480,6 +483,7 @@ impl Builder<'_> {
480
483
/// scoped by `mode`'s output directory, it will pass the `--target` flag for the specified
481
484
/// `target`, and will be executing the Cargo command `cmd`. `cmd` can be `miri-cmd` for
482
485
/// commands to be run with Miri.
486
+ #[ track_caller]
483
487
fn cargo (
484
488
& self ,
485
489
compiler : Compiler ,
You can’t perform that action at this time.
0 commit comments