Commit fdce709
committed
update toolchain to nightly-2026-06-01 and fix build
The newer nightly changed how custom target specs are handled:
- .cargo/config.toml: enable the `json-target-spec` unstable flag,
now required to use `.json` target files
- aarch64-eduos.json: add `rustc-abi: "softfloat"`, now needed
alongside `abi` for bare-metal aarch64 softfloat targets
- src/lib.rs: drop the stabilized `allocator_api` feature gate
Both targets build and boot in QEMU again:
cargo run
cargo run --target aarch64-eduos.json1 parent be2432a commit fdce709
3 files changed
Lines changed: 19 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
4 | 5 | | |
5 | 6 | | |
6 | 7 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| |||
0 commit comments