File tree Expand file tree Collapse file tree 3 files changed +13
-8
lines changed Expand file tree Collapse file tree 3 files changed +13
-8
lines changed Original file line number Diff line number Diff line change 2
2
3
3
set -ex
4
4
5
+ EMSDK_VERSION=1.39.16
6
+
5
7
hide_output () {
6
8
set +x
7
9
on_err="
@@ -23,8 +25,8 @@ git clone https://github.com/emscripten-core/emsdk.git /emsdk-portable
23
25
cd /emsdk-portable
24
26
# FIXME: switch to an upstream install once
25
27
# https://github.com/rust-lang/rust/pull/63649 lands
26
- hide_output ./emsdk install 1.39.12
27
- ./emsdk activate 1.39.12
28
+ hide_output ./emsdk install " ${EMSDK_VERSION} "
29
+ ./emsdk activate " ${EMSDK_VERSION} "
28
30
29
31
# Compile and cache libc
30
32
# shellcheck disable=SC1091
@@ -34,7 +36,6 @@ HOME=/emsdk-portable/ emcc a.c
34
36
rm -f a.*
35
37
36
38
# Make emsdk usable by any user
37
- cp /root/.emscripten /emsdk-portable
38
39
chmod a+rxw -R /emsdk-portable
39
40
40
41
# node 8 is required to run wasm
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ default-features = false
11
11
[build-dependencies ]
12
12
cc = " 1.0"
13
13
# FIXME: Use fork ctest until the maintainer gets back.
14
- ctest = { git = " https://github.com/JohnTitor/ctest.git " , branch = " old-ctest " }
14
+ ctest2 = " 0.3 "
15
15
16
16
[features ]
17
17
default = [ " std" ]
Original file line number Diff line number Diff line change 1
1
#![ deny( warnings) ]
2
2
3
3
extern crate cc;
4
- extern crate ctest;
4
+ extern crate ctest2 as ctest;
5
5
6
6
use std:: env;
7
7
@@ -1567,9 +1567,13 @@ fn test_android(target: &str) {
1567
1567
1568
1568
// FIXME: Somehow we cannot find these fns on aarch64.
1569
1569
// https://github.com/rust-lang/libc/issues/1765
1570
- "lockf" | "preadv64" | "pwritev64" | "openpty" |
1571
- "forkpty" | "login_tty" | "getifaddrs" | "freeifaddrs" |
1572
- "sethostname" | "getgrgid_r" | "getgrnam_r" if aarch64 => true ,
1570
+ "lockf" | "preadv64" | "pwritev64" | "openpty" | "forkpty"
1571
+ | "login_tty" | "getifaddrs" | "freeifaddrs" | "sethostname"
1572
+ | "getgrgid_r" | "getgrnam_r"
1573
+ if aarch64 =>
1574
+ {
1575
+ true
1576
+ }
1573
1577
1574
1578
_ => false ,
1575
1579
}
You can’t perform that action at this time.
0 commit comments