mirror of
https://github.com/rust-lang/rust.git
synced 2025-01-30 08:34:07 +00:00
Remove asmjs from library
This commit is contained in:
parent
2106b63b7b
commit
6649219c3f
@ -241,7 +241,6 @@ impl fmt::Debug for c_void {
|
||||
),
|
||||
all(target_arch = "aarch64", any(target_os = "macos", target_os = "ios", target_os = "tvos")),
|
||||
target_family = "wasm",
|
||||
target_arch = "asmjs",
|
||||
target_os = "uefi",
|
||||
windows,
|
||||
))]
|
||||
@ -270,7 +269,6 @@ pub struct VaListImpl<'f> {
|
||||
),
|
||||
all(target_arch = "aarch64", any(target_os = "macos", target_os = "ios", target_os = "tvos")),
|
||||
target_family = "wasm",
|
||||
target_arch = "asmjs",
|
||||
target_os = "uefi",
|
||||
windows,
|
||||
))]
|
||||
@ -395,7 +393,6 @@ pub struct VaList<'a, 'f: 'a> {
|
||||
any(target_os = "macos", target_os = "ios", target_os = "tvos")
|
||||
),
|
||||
target_family = "wasm",
|
||||
target_arch = "asmjs",
|
||||
target_os = "uefi",
|
||||
windows,
|
||||
))]
|
||||
@ -413,7 +410,6 @@ pub struct VaList<'a, 'f: 'a> {
|
||||
not(any(target_os = "macos", target_os = "ios", target_os = "tvos"))
|
||||
),
|
||||
not(target_family = "wasm"),
|
||||
not(target_arch = "asmjs"),
|
||||
not(target_os = "uefi"),
|
||||
not(windows),
|
||||
))]
|
||||
@ -431,7 +427,6 @@ pub struct VaList<'a, 'f: 'a> {
|
||||
),
|
||||
all(target_arch = "aarch64", any(target_os = "macos", target_os = "ios", target_os = "tvos")),
|
||||
target_family = "wasm",
|
||||
target_arch = "asmjs",
|
||||
target_os = "uefi",
|
||||
windows,
|
||||
))]
|
||||
@ -461,7 +456,6 @@ impl<'f> VaListImpl<'f> {
|
||||
not(any(target_os = "macos", target_os = "ios", target_os = "tvos"))
|
||||
),
|
||||
not(target_family = "wasm"),
|
||||
not(target_arch = "asmjs"),
|
||||
not(target_os = "uefi"),
|
||||
not(windows),
|
||||
))]
|
||||
|
@ -25,7 +25,6 @@ fn main() {
|
||||
|| target.contains("vxworks")
|
||||
|| target.contains("wasm32")
|
||||
|| target.contains("wasm64")
|
||||
|| target.contains("asmjs")
|
||||
|| target.contains("espidf")
|
||||
|| target.contains("solid")
|
||||
|| target.contains("nintendo-3ds")
|
||||
|
@ -31,7 +31,6 @@ pub use self::arch::{blkcnt_t, blksize_t, ino_t, nlink_t, off_t, stat, time_t};
|
||||
target_arch = "powerpc",
|
||||
target_arch = "sparc",
|
||||
target_arch = "arm",
|
||||
target_arch = "asmjs",
|
||||
target_arch = "wasm32"
|
||||
))]
|
||||
mod arch {
|
||||
|
@ -31,7 +31,6 @@ pub use self::arch::{blkcnt_t, blksize_t, ino_t, nlink_t, off_t, stat, time_t};
|
||||
target_arch = "powerpc",
|
||||
target_arch = "sparc",
|
||||
target_arch = "arm",
|
||||
target_arch = "asmjs",
|
||||
target_arch = "wasm32"
|
||||
))]
|
||||
mod arch {
|
||||
|
@ -14,7 +14,6 @@ use crate::ptr;
|
||||
target_arch = "powerpc",
|
||||
target_arch = "powerpc64",
|
||||
target_arch = "sparc",
|
||||
target_arch = "asmjs",
|
||||
target_arch = "wasm32",
|
||||
target_arch = "hexagon",
|
||||
all(target_arch = "riscv32", not(target_os = "espidf")),
|
||||
|
@ -174,17 +174,6 @@ pub mod os {
|
||||
pub const EXE_EXTENSION: &str = "elf";
|
||||
}
|
||||
|
||||
#[cfg(all(target_os = "emscripten", target_arch = "asmjs"))]
|
||||
pub mod os {
|
||||
pub const FAMILY: &str = "unix";
|
||||
pub const OS: &str = "emscripten";
|
||||
pub const DLL_PREFIX: &str = "lib";
|
||||
pub const DLL_SUFFIX: &str = ".so";
|
||||
pub const DLL_EXTENSION: &str = "so";
|
||||
pub const EXE_SUFFIX: &str = ".js";
|
||||
pub const EXE_EXTENSION: &str = "js";
|
||||
}
|
||||
|
||||
#[cfg(all(target_os = "emscripten", target_arch = "wasm32"))]
|
||||
pub mod os {
|
||||
pub const FAMILY: &str = "unix";
|
||||
|
Loading…
Reference in New Issue
Block a user