File tree 2 files changed +8
-1
lines changed
2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -108,7 +108,7 @@ case $HOST_TARGET in
108
108
MIRI_TEST_TARGET=aarch64-unknown-linux-gnu run_tests
109
109
MIRI_TEST_TARGET=aarch64-apple-darwin run_tests
110
110
MIRI_TEST_TARGET=i686-pc-windows-gnu run_tests
111
- MIRI_TEST_TARGET=x86_64-unknown-freebsd run_tests_minimal hello integer vec panic/panic concurrency/simple pthreads-threadname libc-getentropy libc-getrandom libc-reallocarray atomic env/var
111
+ MIRI_TEST_TARGET=x86_64-unknown-freebsd run_tests_minimal hello integer vec panic/panic concurrency/simple pthreads-threadname libc-getentropy libc-getrandom libc-reallocarray libc-misc atomic env/var
112
112
MIRI_TEST_TARGET=aarch64-linux-android run_tests_minimal hello integer vec panic/panic
113
113
MIRI_TEST_TARGET=wasm32-wasi run_tests_minimal no_std integer strings wasm
114
114
MIRI_TEST_TARGET=wasm32-unknown-unknown run_tests_minimal no_std integer strings wasm
Original file line number Diff line number Diff line change @@ -172,6 +172,7 @@ fn test_thread_local_errno() {
172
172
}
173
173
174
174
/// Tests whether clock support exists at all
175
+ #[ cfg( not( target_os = "freebsd" ) ) ]
175
176
fn test_clocks ( ) {
176
177
let mut tp = std:: mem:: MaybeUninit :: < libc:: timespec > :: uninit ( ) ;
177
178
let is_error = unsafe { libc:: clock_gettime ( libc:: CLOCK_REALTIME , tp. as_mut_ptr ( ) ) } ;
@@ -237,6 +238,7 @@ fn test_isatty() {
237
238
}
238
239
}
239
240
241
+ #[ cfg( not( target_os = "freebsd" ) ) ]
240
242
fn test_posix_mkstemp ( ) {
241
243
use std:: ffi:: CString ;
242
244
use std:: ffi:: OsStr ;
@@ -390,6 +392,8 @@ fn test_dlsym() {
390
392
391
393
fn main ( ) {
392
394
test_posix_gettimeofday ( ) ;
395
+
396
+ #[ cfg( not( target_os = "freebsd" ) ) ] // FIXME we should support this on FreeBSD as well
393
397
test_posix_mkstemp ( ) ;
394
398
395
399
test_posix_realpath_alloc ( ) ;
@@ -399,7 +403,10 @@ fn main() {
399
403
test_thread_local_errno ( ) ;
400
404
401
405
test_isatty ( ) ;
406
+
407
+ #[ cfg( not( target_os = "freebsd" ) ) ] // FIXME we should support this on FreeBSD as well
402
408
test_clocks ( ) ;
409
+
403
410
test_dlsym ( ) ;
404
411
405
412
test_memcpy ( ) ;
You can’t perform that action at this time.
0 commit comments