forked from rust-lang/rust
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Florian Bartels <Florian.Bartels@elektrobit.com>
- Loading branch information
1 parent
62661f2
commit 3f045c9
Showing
9 changed files
with
39 additions
and
14 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
11 changes: 11 additions & 0 deletions
11
compiler/rustc_target/src/spec/targets/aarch64_unknown_nto_qnx800.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,11 @@ | ||
use crate::spec::Target; | ||
use crate::spec::base::nto_qnx; | ||
|
||
pub(crate) fn target() -> Target { | ||
let mut target = nto_qnx::aarch64(); | ||
target.metadata.description = Some("ARM64 QNX Neutrino 8.0 RTOS".into()); | ||
target.options.pre_link_args = | ||
nto_qnx::pre_link_args(nto_qnx::ApiVariant::Default, nto_qnx::Arch::Aarch64); | ||
target.options.env = "nto80".into(); | ||
target | ||
} |
11 changes: 11 additions & 0 deletions
11
compiler/rustc_target/src/spec/targets/x86_64_pc_nto_qnx800.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,11 @@ | ||
use crate::spec::Target; | ||
use crate::spec::base::nto_qnx; | ||
|
||
pub(crate) fn target() -> Target { | ||
let mut target = nto_qnx::x86_64(); | ||
target.metadata.description = Some("x86 64-bit QNX Neutrino 8.0 RTOS".into()); | ||
target.options.pre_link_args = | ||
nto_qnx::pre_link_args(nto_qnx::ApiVariant::Default, nto_qnx::Arch::X86_64); | ||
target.options.env = "nto80".into(); | ||
target | ||
} |
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
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