[nvptx] enable nvptx only when all other targets are disabled (#208)
Closes #207 .
This commit is contained in:
parent
8356754fe7
commit
0129d3be76
1 changed files with 6 additions and 0 deletions
|
|
@ -159,6 +159,9 @@ pub mod vendor {
|
|||
#[cfg(target_arch = "aarch64")]
|
||||
pub use aarch64::*;
|
||||
|
||||
// FIXME: rust does not expose the nvptx and nvptx64 targets yet
|
||||
#[cfg(not(any(target_arch = "x86", target_arch = "x86_64",
|
||||
target_arch = "arm", target_arch = "aarch64")))]
|
||||
pub use nvptx::*;
|
||||
|
||||
#[cfg(any(
|
||||
|
|
@ -233,4 +236,7 @@ mod arm;
|
|||
#[cfg(target_arch = "aarch64")]
|
||||
mod aarch64;
|
||||
|
||||
// FIXME: rust does not expose the nvptx and nvptx64 targets yet
|
||||
#[cfg(not(any(target_arch = "x86", target_arch = "x86_64",
|
||||
target_arch = "arm", target_arch = "aarch64")))]
|
||||
mod nvptx;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue