Skip to content

Commit f022734

Browse files
max-niedermantropicaaal
authored andcommitted
better document the is_like_vexos property of TargetOptions
1 parent 71fbbdd commit f022734

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
@@ -2291,7 +2291,8 @@ pub struct TargetOptions {
22912291
pub is_like_wasm: bool,
22922292
/// Whether a target toolchain is like Android, implying a Linux kernel and a Bionic libc
22932293
pub is_like_android: bool,
2294-
/// Whether a target toolchain is like VEXos.
2294+
/// Whether a target toolchain is like VEXos, the operating system used by the VEX Robotics V5 Brain.
2295+
/// Introduced for the `armv7a-vex-v5` target.
22952296
pub is_like_vexos: bool,
22962297
/// Default supported version of DWARF on this platform.
22972298
/// Useful because some platforms (osx, bsd) only want up to DWARF2.

0 commit comments

Comments
 (0)