6 releases

Uses old Rust 2015

0.1.5 Apr 17, 2019
0.1.4 Feb 18, 2019
0.1.3 Jan 30, 2019

#524 in Hardware support

Download history 67/week @ 2024-06-10 75/week @ 2024-06-17 108/week @ 2024-06-24 42/week @ 2024-07-01 57/week @ 2024-07-08 58/week @ 2024-07-15 106/week @ 2024-07-22 60/week @ 2024-07-29 39/week @ 2024-08-05 34/week @ 2024-08-12 36/week @ 2024-08-19 34/week @ 2024-08-26 27/week @ 2024-09-02 33/week @ 2024-09-09 25/week @ 2024-09-16 56/week @ 2024-09-23

146 downloads per month
Used in 3 crates

MIT/Apache

2.5MB
48K SLoC

core::arch - Rust's core library architecture-specific intrinsics

Travis-CI Status Appveyor Status core_arch_crate_badge core_arch_docs_badge

The core::arch module implements architecture-dependent intrinsics (e.g. SIMD).

Usage

core::arch is available as part of libcore and it is re-exported by libstd. Prefer using it via core::arch or std::arch than via this crate. Unstable features are often available in nightly Rust via the feature(stdsimd).

Using core::arch via this crate requires nightly Rust, and it can (and does) break often. The only cases in which you should consider using it via this crate are:

  • if you need to re-compile core::arch yourself, e.g., with particular target-features enabled that are not enabled for libcore/libstd. Note: if you need to re-compile it for a non-standard target, please prefer using xargo and re-compiling libcore/libstd as appropriate instead of using this crate.

  • using some features that might not be available even behind unstable Rust features. We try to keep these to a minimum. If you need to use some of these features, please open an issue so that we can expose them in nightly Rust and you can use them from there.

Documentation

License

core_arch is primarily distributed under the terms of both the MIT license and the Apache License (Version 2.0), with portions covered by various BSD-like licenses.

See LICENSE-APACHE, and LICENSE-MIT for details.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in core_arch by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

No runtime deps