Skip to content

Commit ba52317

Browse files
Add code comment about the --backend option usage
1 parent fc2d1ed commit ba52317

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

build_system/src/config.rs

+2
Original file line numberDiff line numberDiff line change
@@ -398,6 +398,8 @@ impl ConfigInfo {
398398
.display()
399399
.to_string();
400400
if let Some(backend) = &self.backend {
401+
// This option is only used in the rust compiler testsuite. The sysroot is handled
402+
// by its build system directly so no need to set it ourselves.
401403
rustflags.push(format!("-Zcodegen-backend={}", backend));
402404
} else {
403405
rustflags.extend_from_slice(&[

0 commit comments

Comments
 (0)