As of this writing, these are the features which are affected:
|
[package.metadata.build-rs] |
|
# These key/value pairs are parsed by `build.rs`. Each entry names a `--cfg` |
|
# which will be emitted if zerocopy is built with a toolchain version at least |
|
# as high as the specified version. In the emitted `--cfg`, dashes are replaced |
|
# by underscores. |
|
|
|
# From 1.61.0, Rust supports generic types with trait bounds in `const fn`. |
|
zerocopy-generic-bounds-in-const-fn = "1.61.0" |
|
|
|
# When the "simd" feature is enabled, include SIMD types from the |
|
# `core::arch::aarch64` module, which was stabilized in 1.59.0. On earlier Rust |
|
# versions, these types require the "simd-nightly" feature. |
|
zerocopy-aarch64-simd = "1.59.0" |