Skip to content

Commit 6649219

Browse files
Remove asmjs from library
1 parent 2106b63 commit 6649219

File tree

6 files changed

+0
-21
lines changed

6 files changed

+0
-21
lines changed

library/core/src/ffi/mod.rs

-6
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,6 @@ impl fmt::Debug for c_void {
241241
),
242242
all(target_arch = "aarch64", any(target_os = "macos", target_os = "ios", target_os = "tvos")),
243243
target_family = "wasm",
244-
target_arch = "asmjs",
245244
target_os = "uefi",
246245
windows,
247246
))]
@@ -270,7 +269,6 @@ pub struct VaListImpl<'f> {
270269
),
271270
all(target_arch = "aarch64", any(target_os = "macos", target_os = "ios", target_os = "tvos")),
272271
target_family = "wasm",
273-
target_arch = "asmjs",
274272
target_os = "uefi",
275273
windows,
276274
))]
@@ -395,7 +393,6 @@ pub struct VaList<'a, 'f: 'a> {
395393
any(target_os = "macos", target_os = "ios", target_os = "tvos")
396394
),
397395
target_family = "wasm",
398-
target_arch = "asmjs",
399396
target_os = "uefi",
400397
windows,
401398
))]
@@ -413,7 +410,6 @@ pub struct VaList<'a, 'f: 'a> {
413410
not(any(target_os = "macos", target_os = "ios", target_os = "tvos"))
414411
),
415412
not(target_family = "wasm"),
416-
not(target_arch = "asmjs"),
417413
not(target_os = "uefi"),
418414
not(windows),
419415
))]
@@ -431,7 +427,6 @@ pub struct VaList<'a, 'f: 'a> {
431427
),
432428
all(target_arch = "aarch64", any(target_os = "macos", target_os = "ios", target_os = "tvos")),
433429
target_family = "wasm",
434-
target_arch = "asmjs",
435430
target_os = "uefi",
436431
windows,
437432
))]
@@ -461,7 +456,6 @@ impl<'f> VaListImpl<'f> {
461456
not(any(target_os = "macos", target_os = "ios", target_os = "tvos"))
462457
),
463458
not(target_family = "wasm"),
464-
not(target_arch = "asmjs"),
465459
not(target_os = "uefi"),
466460
not(windows),
467461
))]

library/std/build.rs

-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ fn main() {
2525
|| target.contains("vxworks")
2626
|| target.contains("wasm32")
2727
|| target.contains("wasm64")
28-
|| target.contains("asmjs")
2928
|| target.contains("espidf")
3029
|| target.contains("solid")
3130
|| target.contains("nintendo-3ds")

library/std/src/os/l4re/raw.rs

-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ pub use self::arch::{blkcnt_t, blksize_t, ino_t, nlink_t, off_t, stat, time_t};
3131
target_arch = "powerpc",
3232
target_arch = "sparc",
3333
target_arch = "arm",
34-
target_arch = "asmjs",
3534
target_arch = "wasm32"
3635
))]
3736
mod arch {

library/std/src/os/linux/raw.rs

-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ pub use self::arch::{blkcnt_t, blksize_t, ino_t, nlink_t, off_t, stat, time_t};
3131
target_arch = "powerpc",
3232
target_arch = "sparc",
3333
target_arch = "arm",
34-
target_arch = "asmjs",
3534
target_arch = "wasm32"
3635
))]
3736
mod arch {

library/std/src/sys/common/alloc.rs

-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ use crate::ptr;
1414
target_arch = "powerpc",
1515
target_arch = "powerpc64",
1616
target_arch = "sparc",
17-
target_arch = "asmjs",
1817
target_arch = "wasm32",
1918
target_arch = "hexagon",
2019
all(target_arch = "riscv32", not(target_os = "espidf")),

library/std/src/sys/unix/env.rs

-11
Original file line numberDiff line numberDiff line change
@@ -174,17 +174,6 @@ pub mod os {
174174
pub const EXE_EXTENSION: &str = "elf";
175175
}
176176

177-
#[cfg(all(target_os = "emscripten", target_arch = "asmjs"))]
178-
pub mod os {
179-
pub const FAMILY: &str = "unix";
180-
pub const OS: &str = "emscripten";
181-
pub const DLL_PREFIX: &str = "lib";
182-
pub const DLL_SUFFIX: &str = ".so";
183-
pub const DLL_EXTENSION: &str = "so";
184-
pub const EXE_SUFFIX: &str = ".js";
185-
pub const EXE_EXTENSION: &str = "js";
186-
}
187-
188177
#[cfg(all(target_os = "emscripten", target_arch = "wasm32"))]
189178
pub mod os {
190179
pub const FAMILY: &str = "unix";

0 commit comments

Comments
 (0)