Skip to content

Commit 944b7ad

Browse files
authored
Merge branch 'main' into use-sa_sigaction
2 parents 2127ff4 + 3695157 commit 944b7ad

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

113 files changed

+507
-592
lines changed

.cirrus.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,13 @@ task:
1212
env:
1313
TARGET: i686-unknown-freebsd
1414
freebsd_instance:
15-
image_family: freebsd-13-3
15+
image_family: freebsd-13-4
1616
- name: nightly freebsd-13 x86_64
1717
freebsd_instance:
18-
image_family: freebsd-13-3
18+
image_family: freebsd-13-4
1919
- name: nightly freebsd-14 x86_64
2020
freebsd_instance:
21-
image: freebsd-14-1-release-amd64-ufs
21+
image: freebsd-14-2-release-amd64-ufs
2222
- name: nightly freebsd-15 x86_64
2323
freebsd_instance:
2424
image_family: freebsd-15-0-snap

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ but this is not guaranteed.
6565
You can see the platform(target)-specific docs on [docs.rs], select a platform
6666
you want to see.
6767

68-
See [`ci/build.sh`](https://github.com/rust-lang/libc/blob/HEAD/ci/build.sh) for
68+
See [`ci/verify-build.sh`](https://github.com/rust-lang/libc/blob/HEAD/ci/verify-build.sh) for
6969
the platforms on which `libc` is guaranteed to build for each Rust toolchain.
7070
The test-matrix at [GitHub Actions] and [Cirrus CI] show the platforms in which
7171
`libc` tests are run.

build.rs

+4-4
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ use std::{env, str};
55
// need to know all the possible cfgs that this script will set. If you need to set another cfg
66
// make sure to add it to this list as well.
77
const ALLOWED_CFGS: &'static [&'static str] = &[
8-
"emscripten_new_stat_abi",
8+
"emscripten_old_stat_abi",
99
"espidf_time32",
1010
"freebsd10",
1111
"freebsd11",
@@ -75,9 +75,9 @@ fn main() {
7575
}
7676

7777
match emcc_version_code() {
78-
Some(v) if (v >= 30142) => set_cfg("emscripten_new_stat_abi"),
79-
// Non-Emscripten or version < 3.1.42.
80-
Some(_) | None => (),
78+
Some(v) if (v < 30142) => set_cfg("emscripten_old_stat_abi"),
79+
// Non-Emscripten or version >= 3.1.42.
80+
_ => (),
8181
}
8282

8383
let linux_time_bits64 = env::var("RUST_LIBC_UNSTABLE_LINUX_TIME_BITS64").is_ok();

ci/emscripten.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
set -eux
44

55
# Note: keep in sync with:
6-
# https://github.com/rust-lang/rust/blob/master/src/ci/docker/scripts/emscripten.sh
6+
# https://github.com/rust-lang/rust/blob/master/src/doc/rustc/src/platform-support/wasm32-unknown-emscripten.md#requirements
77
emsdk_version=3.1.68
88

99
git clone https://github.com/emscripten-core/emsdk.git /emsdk-portable

0 commit comments

Comments
 (0)