Skip to content

Commit 0d441ab

Browse files
max-niedermanTropix126
authored andcommitted
better document the is_like_vexos property of TargetOptions
1 parent b6d41fa commit 0d441ab

File tree

1 file changed

+2
-1
lines changed
  • compiler/rustc_target/src/spec

1 file changed

+2
-1
lines changed

compiler/rustc_target/src/spec/mod.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2338,7 +2338,8 @@ pub struct TargetOptions {
23382338
pub is_like_wasm: bool,
23392339
/// Whether a target toolchain is like Android, implying a Linux kernel and a Bionic libc
23402340
pub is_like_android: bool,
2341-
/// Whether a target toolchain is like VEXos.
2341+
/// Whether a target toolchain is like VEXos, the operating system used by the VEX Robotics V5 Brain.
2342+
/// Introduced for the `armv7a-vex-v5` target.
23422343
pub is_like_vexos: bool,
23432344
/// Default supported version of DWARF on this platform.
23442345
/// Useful because some platforms (osx, bsd) only want up to DWARF2.

0 commit comments

Comments
 (0)