Rollup merge of #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.
This commit is contained in:
Mazdak Farrokhzad 2019-07-10 05:14:07 +02:00 committed by GitHub
commit 1e48be948a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -497,8 +497,8 @@ pub struct Target {
pub target_env: String,
/// Vendor name to use for conditional compilation.
pub target_vendor: String,
/// Architecture to use for ABI considerations. Valid options: "x86",
/// "x86_64", "arm", "aarch64", "mips", "powerpc", and "powerpc64".
/// Architecture to use for ABI considerations. Valid options include: "x86",
/// "x86_64", "arm", "aarch64", "mips", "powerpc", "powerpc64", and others.
pub arch: String,
/// [Data layout](http://llvm.org/docs/LangRef.html#data-layout) to pass to LLVM.
pub data_layout: String,