Skip to content

Commit 6c8e99e

Browse files
committed
Kill asmjs-unknown-emscripten
asmjs has been in limbo for years. Modern rustc does not even acknowledge it as an existing target anymore. As such, reap it out. This commit also removes emscripten.sh, which has not been used anywhere even prior to this change.
1 parent 4090bec commit 6c8e99e

File tree

6 files changed

+5
-74
lines changed

6 files changed

+5
-74
lines changed

.changes/1609.json

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"description": "remove `asmjs-unknown-emscripten` target.",
3+
"type": "removed",
4+
"breaking": true
5+
}

README.md

-1
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,6 @@ terminate.
261261
| `x86_64-unknown-linux-gnu:centos` [5] | 2.17 | 4.8.5 || 4.2.1 ||
262262
| `x86_64-unknown-linux-musl` | 1.2.3 | 9.2.0 || N/A ||
263263
| `x86_64-unknown-netbsd` [3] | 9.2.0 | 9.4.0 || N/A | |
264-
<!--| `asmjs-unknown-emscripten` [7] | 3.1.14 | 15.0.0 | ✓ | N/A | ✓ |-->
265264

266265
[1] libc = bionic; Only works with native tests, that is, tests that do not
267266
depends on the Android Runtime. For i686 some tests may fails with the

docker/Dockerfile.asmjs-unknown-emscripten

-23
This file was deleted.

docker/emscripten.sh

-40
This file was deleted.

src/lib.rs

-1
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,6 @@ impl TargetTriple {
152152
"x86_64-linux-android" => None,
153153
"x86_64-pc-windows-gnu" => None,
154154
"i686-pc-windows-gnu" => None,
155-
"asmjs-unknown-emscripten" => None,
156155
"wasm32-unknown-emscripten" => None,
157156
"x86_64-unknown-dragonfly" => Some("dragonflybsd-amd64"),
158157
"i686-unknown-freebsd" => Some("freebsd-i386"),

targets.toml

-9
Original file line numberDiff line numberDiff line change
@@ -402,15 +402,6 @@ cpp = true
402402
std = true
403403
run = true
404404

405-
[[target]]
406-
# Disabled for now, see https://github.com/rust-lang/rust/issues/98216 & https://github.com/cross-rs/cross/issues/634
407-
disabled = true
408-
target = "asmjs-unknown-emscripten"
409-
os = "ubuntu-latest"
410-
cpp = true
411-
std = true
412-
run = true
413-
414405
[[target]]
415406
target = "wasm32-unknown-emscripten"
416407
os = "ubuntu-latest"

0 commit comments

Comments
 (0)