mirror of
https://github.com/openharmony/third_party_rust_linux-raw-sys.git
synced 2026-07-19 21:24:35 -04:00
Fix the auto-generated rustc-dep-of-std to depend on no_std.
This commit is contained in:
+1
-1
@@ -242,7 +242,7 @@ 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 = [\"rustc-std-workspace-core\"]").unwrap();
|
||||
writeln!(cargo_toml, "rustc-dep-of-std = [\"rustc-std-workspace-core\", \"no_std\"]").unwrap();
|
||||
|
||||
// Reset the `linux` directory back to the original branch.
|
||||
git_checkout(LINUX_VERSIONS[0]);
|
||||
|
||||
Reference in New Issue
Block a user