Skip to content

Commit 2a9f3d5

Browse files
authored
Merge pull request #4538 from tgross35/less-build-std
ci: Only build `core` with `-Zbuild-std`
2 parents 7335fec + d96fb20 commit 2a9f3d5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

ci/run.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ if [ -n "${QEMU:-}" ]; then
5151
cargo build \
5252
--manifest-path libc-test/Cargo.toml \
5353
--target "$target" \
54-
--test main ${LIBC_CI_ZBUILD_STD+"-Zbuild-std"}
54+
--test main ${LIBC_CI_ZBUILD_STD+"-Zbuild-std=core"}
5555
rm "${CARGO_TARGET_DIR}/${target}"/debug/main-*.d
5656
cp "${CARGO_TARGET_DIR}/${target}"/debug/main-* "${tmpdir}"/mount/libc-test
5757
# shellcheck disable=SC2016

ci/verify-build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ test_target() {
4848

4949
if [ "${no_dist}" != "0" ]; then
5050
# If we can't download a `core`, we need to build it
51-
cmd="$cmd -Zbuild-std=core,alloc"
51+
cmd="$cmd -Zbuild-std=core"
5252

5353
# FIXME: With `build-std` feature, `compiler_builtins` emits a lof of lint warnings.
5454
RUSTFLAGS="${RUSTFLAGS:-} -Aimproper_ctypes_definitions"

0 commit comments

Comments
 (0)