Skip to content

Commit a26be7e

Browse files
committed
Enable env test on freebsd
Signed-off-by: InfRandomness <[email protected]>
1 parent 5ec2535 commit a26be7e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

ci.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ case $HOST_TARGET in
6060
MIRI_TEST_TARGET=i686-unknown-linux-gnu run_tests
6161
MIRI_TEST_TARGET=aarch64-apple-darwin run_tests
6262
MIRI_TEST_TARGET=i686-pc-windows-msvc run_tests
63-
MIRI_TEST_TARGET=x86_64-unknown-freebsd run_tests_minimal hello integer vec current_dir data_race
63+
MIRI_TEST_TARGET=x86_64-unknown-freebsd run_tests_minimal hello integer vec current_dir data_race env
6464
MIRI_TEST_TARGET=thumbv7em-none-eabihf MIRI_NO_STD=1 run_tests_minimal no_std # no_std embedded architecture
6565
;;
6666
x86_64-apple-darwin)

tests/fail/environ-gets-deallocated.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// ignore-windows: Windows does not have a global environ list that the program can access directly
22

3-
#[cfg(target_os = "linux")]
3+
#[cfg(any(target_os = "linux", target_os = "freebsd"))]
44
fn get_environ() -> *const *const u8 {
55
extern "C" {
66
static mut environ: *const *const u8;

0 commit comments

Comments
 (0)