-
Notifications
You must be signed in to change notification settings - Fork 12.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Auto merge of #119221 - matthiaskrgr:rollup-dh9exqf, r=matthiaskrgr
Rollup of 5 pull requests Successful merges: - #117601 (Add support for hexagon-unknown-none-elf as target) - #119169 (Rid the AST & HIR pretty printer of cruft) - #119194 (Run fuchsia tests only on nightly) - #119201 (tests: fix overaligned-constant to not over-specify getelementptr instr) - #119215 (Emits error if has bound regions) r? `@ghost` `@rustbot` modify labels: rollup
- Loading branch information
Showing
14 changed files
with
326 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
27 changes: 27 additions & 0 deletions
27
compiler/rustc_target/src/spec/targets/hexagon_unknown_none_elf.rs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
use crate::spec::{PanicStrategy, Target, TargetOptions}; | ||
|
||
pub fn target() -> Target { | ||
Target { | ||
llvm_target: "hexagon-unknown-none-elf".into(), | ||
pointer_width: 32, | ||
data_layout: concat!( | ||
"e-m:e-p:32:32:32-a:0-n16:32-i64:64:64-i32:32", | ||
":32-i16:16:16-i1:8:8-f32:32:32-f64:64:64-v32", | ||
":32:32-v64:64:64-v512:512:512-v1024:1024:1024-v2048", | ||
":2048:2048" | ||
) | ||
.into(), | ||
arch: "hexagon".into(), | ||
|
||
options: TargetOptions { | ||
cpu: "hexagonv60".into(), | ||
panic_strategy: PanicStrategy::Abort, | ||
dynamic_linking: true, | ||
features: "-small-data,+hvx-length128b".into(), | ||
max_atomic_width: Some(32), | ||
emit_debug_gdb_scripts: false, | ||
c_enum_min_bits: Some(8), | ||
..Default::default() | ||
}, | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.