OpenBSD multi-platform 4.4BSD-based UNIX-like operating system.
The target names follow this format:
$ARCH specifies the target processor architecture. The following targets are currently defined:
|Target name||C++ library||OpenBSD Platform|
|libc++||64-bit ARM systems|
|libc++||Standard PC and clones based on the Intel i386 architecture and compatible processors|
|libc++||IBM POWER-based PowerNV systems|
|libc++||64-bit RISC-V systems|
|estdc++||Sun UltraSPARC and Fujitsu SPARC64 systems|
Note that all OS versions are major even if using X.Y notation (
6.9 are different major versions) and could be binary incompatibles (with breaking changes).
Fallback to email@example.com, OpenBSD third parties public mailing-list (with openbsd developers readers)
These targets are natively compiled and could be cross-compiled. C compiler toolchain is required for the purpose of building Rust and functional binaries.
The target can be built by enabling it for a
[build] target = ["$ARCH-unknown-openbsd"] [target.$ARCH-unknown-openbsd] cc = "$ARCH-openbsd-cc"
These targets can be cross-compiled, but LLVM might not build out-of-box.
The Rust testsuite could be run natively.
Building Rust programs
Rust does not yet ship pre-compiled artifacts for these targets.