|
|
|
|
|
by seddonm1
10 days ago
|
|
I would be interested to know if there is a method similar to this one in Rust [0] that allows a single binary to support multiple optimization levels depending on the executing CPU? It feels wasteful to not enable these optimizations but I don't really want to force a user to choose between a complex feature matrix. [0] https://github.com/ronnychevalier/cargo-multivers |
|
[0] https://doc.rust-lang.org/stable/std/macro.is_x86_feature_de...