rust-lang / stdarch

Rust's standard library vendor-specific APIs and run-time feature detection
https://doc.rust-lang.org/stable/core/arch/
Apache License 2.0
598 stars 255 forks source link

Remove `has_cpuid` #1595

Closed workingjubilee closed 1 week ago

workingjubilee commented 2 weeks ago

Implements the resolution of https://github.com/rust-lang/rust/issues/60123

rustbot commented 2 weeks ago

r? @Amanieu

rustbot has assigned @Amanieu. They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.

Use r? to explicitly pick a reviewer

workingjubilee commented 2 weeks ago

The FCP isn't over yet but I figured I might as well while I was looking at stdarch for other reasons.

workingjubilee commented 1 week ago

The FCP is over.

Amanieu commented 1 week ago

We still want to avoid executing the CPUID instruction on SGX targets.

workingjubilee commented 1 week ago

so like that?