Skip to content

Commit 1e48be9

Browse files
authored
Rollup merge of rust-lang#62283 - fintelia:patch-5, r=Mark-Simulacrum
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: right now it is missing "riscv32" and "riscv64" and perhaps other architectures as well.
2 parents b14b20c + 515da72 commit 1e48be9

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

+2-2
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)