Skip to content

Commit 515da72

Browse files
authored
Target::arch can take more than listed options
A list of options in a comment like this is almost guaranteed to become out of date. This list is missing "riscv32" and "riscv64" and perhaps other architectures as well.
1 parent 6ea4036 commit 515da72

File tree

1 file changed

+2
-2
lines changed
  • src/librustc_target/spec

1 file changed

+2
-2
lines changed

src/librustc_target/spec/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -497,8 +497,8 @@ pub struct Target {
497497
pub target_env: String,
498498
/// Vendor name to use for conditional compilation.
499499
pub target_vendor: String,
500-
/// Architecture to use for ABI considerations. Valid options: "x86",
501-
/// "x86_64", "arm", "aarch64", "mips", "powerpc", and "powerpc64".
500+
/// Architecture to use for ABI considerations. Valid options include: "x86",
501+
/// "x86_64", "arm", "aarch64", "mips", "powerpc", "powerpc64", and others.
502502
pub arch: String,
503503
/// [Data layout](http://llvm.org/docs/LangRef.html#data-layout) to pass to LLVM.
504504
pub data_layout: String,

0 commit comments

Comments
 (0)