Skip to content

Commit af225b6

Browse files
UrgauAmanieu
authored andcommitted
Remove obsolete cfg for nvptx
Following to the compiler MCP 496 (rust-lang/compiler-team#496)
1 parent d7a8ee1 commit af225b6

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Diff for: crates/core_arch/src/mod.rs

+4-4
Original file line numberDiff line numberDiff line change
@@ -255,8 +255,8 @@ pub mod arch {
255255
/// Platform-specific intrinsics for the `NVPTX` platform.
256256
///
257257
/// See the [module documentation](../index.html) for more details.
258-
#[cfg(any(target_arch = "nvptx", target_arch = "nvptx64", doc))]
259-
#[doc(cfg(any(target_arch = "nvptx", target_arch = "nvptx64")))]
258+
#[cfg(any(target_arch = "nvptx64", doc))]
259+
#[doc(cfg(target_arch = "nvptx64"))]
260260
#[unstable(feature = "stdsimd", issue = "27731")]
261261
pub mod nvptx {
262262
pub use crate::core_arch::nvptx::*;
@@ -299,6 +299,6 @@ mod powerpc;
299299
#[doc(cfg(target_arch = "powerpc64"))]
300300
mod powerpc64;
301301

302-
#[cfg(any(target_arch = "nvptx", target_arch = "nvptx64", doc))]
303-
#[doc(cfg(any(target_arch = "nvptx", target_arch = "nvptx64")))]
302+
#[cfg(any(target_arch = "nvptx64", doc))]
303+
#[doc(cfg(target_arch = "nvptx64"))]
304304
mod nvptx;

0 commit comments

Comments
 (0)