Skip to content

Commit 90106b3

Browse files
committed
Separate L4Re from Linux code, add aarch64 and enable tests
The L4Re code was previously attached to the Linux code which was not correct in many ways. This commit separates the L4Re code and enables the libc-tests and includes the fixes for the failing tests. Aarch64 is added as a second supported architecture (more to come).
1 parent 2d96246 commit 90106b3

File tree

19 files changed

+7793
-2704
lines changed

19 files changed

+7793
-2704
lines changed

ci/run-docker.sh

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,9 @@ run() {
4747
--env RUST_LIBC_UNSTABLE_GNU_TIME_BITS \
4848
--env CARGO_HOME=/cargo \
4949
--env CARGO_TARGET_DIR=/checkout/target \
50-
--volume "$CARGO_HOME":/cargo \
51-
--volume "$(rustc --print sysroot)":/rust:ro \
52-
--volume "$PWD":/checkout:ro \
50+
--volume "$CARGO_HOME":/cargo:Z \
51+
--volume "$(rustc --print sysroot)":/rust:ro,Z \
52+
--volume "$PWD":/checkout:ro,Z \
5353
--volume "$PWD"/target:/checkout/target \
5454
$kvm \
5555
--init \
@@ -78,9 +78,9 @@ build_switch() {
7878
--env LIBC_CI \
7979
--env CARGO_HOME=/cargo \
8080
--env CARGO_TARGET_DIR=/checkout/target \
81-
--volume "$CARGO_HOME":/cargo \
82-
--volume "$(rustc --print sysroot)":/rust:ro \
83-
--volume "$(pwd)":/checkout:ro \
81+
--volume "$CARGO_HOME":/cargo:Z \
82+
--volume "$(rustc --print sysroot)":/rust:ro,Z \
83+
--volume "$(pwd)":/checkout:ro,Z \
8484
--volume "$(pwd)"/target:/checkout/target \
8585
--volume ~/.rustup:/.rustup:Z \
8686
$kvm \

ctest/src/lib.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1100,6 +1100,8 @@ fn default_cfg(target: &str) -> Vec<(String, Option<String>)> {
11001100
("hurd", "unix", "gnu")
11011101
} else if target.contains("cygwin") {
11021102
("cygwin", "unix", "")
1103+
} else if target.contains("l4re-uclibc") {
1104+
("l4re", "unix", "uclibc")
11031105
} else {
11041106
panic!("unknown os/family: {target}")
11051107
};

0 commit comments

Comments
 (0)