diff options
| author | Nicholas Nethercote <n.nethercote@gmail.com> | 2024-08-30 14:22:46 +1000 |
|---|---|---|
| committer | Nicholas Nethercote <n.nethercote@gmail.com> | 2024-09-03 08:49:54 +1000 |
| commit | 0fb3a509cf437610b4329003de5bc1552aa7e540 (patch) | |
| tree | dae43cb05b55fcfee90c44c04890e38fd501f384 /compiler/rustc_target/src/spec/base/linux_ohos.rs | |
| parent | 89deb3c7420bf5a3643a53132cca4e1d9e0ebc80 (diff) | |
| download | rust-0fb3a509cf437610b4329003de5bc1552aa7e540.tar.gz rust-0fb3a509cf437610b4329003de5bc1552aa7e540.zip | |
Add `warn(unreachable_pub)` to `rustc_target`.
Diffstat (limited to 'compiler/rustc_target/src/spec/base/linux_ohos.rs')
| -rw-r--r-- | compiler/rustc_target/src/spec/base/linux_ohos.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_target/src/spec/base/linux_ohos.rs b/compiler/rustc_target/src/spec/base/linux_ohos.rs index 8272cda05e7..2372bc2c718 100644 --- a/compiler/rustc_target/src/spec/base/linux_ohos.rs +++ b/compiler/rustc_target/src/spec/base/linux_ohos.rs @@ -1,6 +1,6 @@ use crate::spec::{base, TargetOptions, TlsModel}; -pub fn opts() -> TargetOptions { +pub(crate) fn opts() -> TargetOptions { let mut base = base::linux::opts(); base.env = "ohos".into(); |
