diff options
| author | Vadim Petrochenkov <vadim.petrochenkov@gmail.com> | 2020-11-10 23:32:58 +0300 |
|---|---|---|
| committer | Vadim Petrochenkov <vadim.petrochenkov@gmail.com> | 2020-11-11 11:38:40 +0300 |
| commit | ca17a91fb7e503da403ab470bd564d66d12ba114 (patch) | |
| tree | 2e414cc91b75a4afb0c6a82aea9b3616ecf489be /compiler/rustc_target/src/spec/linux_gnu_base.rs | |
| parent | 38030ffb4e735b26260848b744c0910a5641e1db (diff) | |
| download | rust-ca17a91fb7e503da403ab470bd564d66d12ba114.tar.gz rust-ca17a91fb7e503da403ab470bd564d66d12ba114.zip | |
rustc_target: Move target env "gnu" from `linux_base` to `linux_gnu_base`
Diffstat (limited to 'compiler/rustc_target/src/spec/linux_gnu_base.rs')
| -rw-r--r-- | compiler/rustc_target/src/spec/linux_gnu_base.rs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/compiler/rustc_target/src/spec/linux_gnu_base.rs b/compiler/rustc_target/src/spec/linux_gnu_base.rs new file mode 100644 index 00000000000..3d940ceaf02 --- /dev/null +++ b/compiler/rustc_target/src/spec/linux_gnu_base.rs @@ -0,0 +1,5 @@ +use crate::spec::TargetOptions; + +pub fn opts() -> TargetOptions { + TargetOptions { env: "gnu".to_string(), ..super::linux_base::opts() } +} |
