diff options
| author | Brian Cain <bcain@quicinc.com> | 2023-11-04 16:01:05 -0700 |
|---|---|---|
| committer | Brian Cain <bcain@quicinc.com> | 2023-12-21 09:34:29 -0800 |
| commit | cc34942f1246383060980aefb577253195a3a135 (patch) | |
| tree | 9add8b895dd9910eea317c35f1a89f555903540b /compiler/rustc_target/src/spec/tests | |
| parent | 767453eb7ca188e991ac5568c17b984dd4893e77 (diff) | |
Add support for hexagon-unknown-none-elf as target
Signed-off-by: Brian Cain <bcain@quicinc.com>
Diffstat (limited to 'compiler/rustc_target/src/spec/tests')
| -rw-r--r-- | compiler/rustc_target/src/spec/tests/tests_impl.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/compiler/rustc_target/src/spec/tests/tests_impl.rs b/compiler/rustc_target/src/spec/tests/tests_impl.rs index 257867b1b80..3fefd60f7cd 100644 --- a/compiler/rustc_target/src/spec/tests/tests_impl.rs +++ b/compiler/rustc_target/src/spec/tests/tests_impl.rs @@ -116,7 +116,8 @@ impl Target { // Check dynamic linking stuff // BPF: when targeting user space vms (like rbpf), those can load dynamic libraries. - if self.os == "none" && self.arch != "bpf" { + // hexagon: when targeting QuRT, that OS can load dynamic libraries. + if self.os == "none" && (self.arch != "bpf" && self.arch != "hexagon") { assert!(!self.dynamic_linking); } if self.only_cdylib |
