This commit is contained in:
Dan Gohman
2021-11-05 06:09:54 -07:00
parent bdcc11c3d7
commit 2f00e54a01
+5 -1
View File
@@ -242,7 +242,11 @@ fn main() {
writeln!(cargo_toml, "default = [\"std\", {}]", DEFAULT_FEATURES).unwrap();
writeln!(cargo_toml, "std = []").unwrap();
writeln!(cargo_toml, "no_std = []").unwrap();
writeln!(cargo_toml, "rustc-dep-of-std = [\"core\", \"compiler_builtins\", \"no_std\"]").unwrap();
writeln!(
cargo_toml,
"rustc-dep-of-std = [\"core\", \"compiler_builtins\", \"no_std\"]"
)
.unwrap();
// Reset the `linux` directory back to the original branch.
git_checkout(LINUX_VERSIONS[0]);