Skip to content

Commit 55bbce9

Browse files
committed
create src dir and move bootstrap/*.rs sources there
Signed-off-by: onur-ozkan <work@onurozkan.dev>
1 parent bf98263 commit 55bbce9

40 files changed

+9
-6
lines changed

src/bootstrap/Cargo.toml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,27 +6,27 @@ build = "build.rs"
66
default-run = "bootstrap"
77

88
[lib]
9-
path = "lib.rs"
9+
path = "src/lib.rs"
1010
doctest = false
1111

1212
[[bin]]
1313
name = "bootstrap"
14-
path = "bin/main.rs"
14+
path = "src/bins/main.rs"
1515
test = false
1616

1717
[[bin]]
1818
name = "rustc"
19-
path = "bin/rustc.rs"
19+
path = "src/bins/rustc.rs"
2020
test = false
2121

2222
[[bin]]
2323
name = "rustdoc"
24-
path = "bin/rustdoc.rs"
24+
path = "src/bins/rustdoc.rs"
2525
test = false
2626

2727
[[bin]]
2828
name = "sccache-plus-cl"
29-
path = "bin/sccache-plus-cl.rs"
29+
path = "src/bins/sccache-plus-cl.rs"
3030
test = false
3131

3232
[dependencies]
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

src/bootstrap/builder.rs renamed to src/bootstrap/src/builder.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2185,6 +2185,7 @@ impl<'a> Builder<'a> {
21852185
}
21862186

21872187
#[cfg(test)]
2188+
#[path = "tests/builder.rs"]
21882189
mod tests;
21892190

21902191
/// Represents flag values in `String` form with whitespace delimiter to pass it to the compiler later.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)