You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
codegen: one target-OS classifier (follow-up to #12247's triple-spelling fix) #12249
Hardening follow-up to #12247. #12247 is correct: the heap floor is a checked lower bound, and any address outside the range takes the runtime slow path.
Hard-coded floor.target_layout.rs writes the floor as the literal 0x10_0000. Use crate::runtime_abi::RECEIVER_HANDLE_FLOOR instead, as receiver_range.rs:37 already does.
Hand-listed test targets.heap_address_floor_covers_emitted_triples lists target names by hand and misses wearos, windows-arm64, windows-x86_64, linux-x86_64-musl, windows-winui and wasi. Expose one TARGET_NAMES next to resolve_target_triple (codegen/helpers.rs:994) and loop over it.
One OS classifier. Several places classify the target OS by ad hoc substring matching on the triple:
Activity