Skip to content

Commit 367f96e

Browse files
committed
fixup! rustc_target: introduce Vendor
1 parent b007024 commit 367f96e

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
@@ -2217,7 +2217,8 @@ pub struct TargetOptions {
22172217
/// This field is *not* forwarded directly to LLVM; its primary purpose is `cfg(target_abi)`.
22182218
/// However, parts of the backend do check this field for specific values to enable special behavior.
22192219
pub abi: Abi,
2220-
/// Vendor name to use for conditional compilation (`target_vendor`). Defaults to "unknown".
2220+
/// Vendor name to use for conditional compilation (`target_vendor`).
2221+
/// Defaults to [`Vendor::Unknown("unknown")`](Vendor::Unknown).
22212222
pub vendor: Vendor,
22222223

22232224
/// Linker to invoke

0 commit comments

Comments
 (0)