The swapchain, the window's presenter, the display's sink and the window system's extensions present on Windows too, through SDL's Win32 surface (os/windows.rs's WINDOW_SURFACE_EXTENSIONS), but their docs said "either OS" or named Linux and macOS alone. rust-toolchain.toml still named the Metal platform, deleted on 11-07. caps.rs's table gave a host's naming of its device by Metal's registry ID (open_device, a handshake) as the reason for the stand-in; no host names its device so now, and the reason that holds is that Metal's core count and driver sizes for that GPU are found by that ID. Comments and docs only.
24 lines
1.5 KiB
TOML
24 lines
1.5 KiB
TOML
# A dated nightly, for rustc's parallel front end (`-Zthreads`, set in `.cargo/config.toml` through
|
|
# Cargo's profile rustflags), the toolchain metal2vulkan's builds use too. The date is fixed so
|
|
# every host runs one rustc, clippy and rustfmt; moving it is a deliberate step, with a full check.
|
|
# The crates' `rust-version` (Cargo.toml) stays the stable floor clippy's `incompatible_msrv` checks
|
|
# the standard library's items against. x86_64-unknown-linux-gnu is what ships on Linux (built
|
|
# there, type-checked from the Mac by `cargo xtask check`),
|
|
# x86_64-pc-windows-gnullvm what ships on Windows (built there under MSYS2 CLANG64, type-checked
|
|
# from the Mac and Linux by `cargo xtask check`), and aarch64-apple-darwin what runs on a Mac.
|
|
# x86_64-apple-darwin runs core's tests under Rosetta, with the x86-64 guest's pages and
|
|
# instructions, on a Mac that has Rosetta (check skips them on one without).
|
|
# No Rust binary is arm64e: rustc's arm64e-apple-darwin target has no pointer authentication, and
|
|
# its binaries, a hello world among them, crash in dyld's `_tlv_get_addr` before `main` (measured
|
|
# 2026-09-25 with nightly-2026-09-24 on macOS 26.7). An arm64 binary still links and calls arm64e
|
|
# code, as it calls the system's frameworks, and arm64e code calls its callbacks.
|
|
[toolchain]
|
|
channel = "nightly-2026-11-03"
|
|
components = ["rustfmt", "clippy"]
|
|
targets = [
|
|
"aarch64-apple-darwin",
|
|
"x86_64-unknown-linux-gnu",
|
|
"x86_64-apple-darwin",
|
|
"x86_64-pc-windows-gnullvm",
|
|
]
|