Skip to content

Commit 3dd4e1e

Browse files
authored
Merge pull request #4131 from RalfJung/rustup
Rustup
2 parents 3736728 + 11f70f2 commit 3dd4e1e

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

ci/ci.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -150,8 +150,8 @@ case $HOST_TARGET in
150150
# Partially supported targets (tier 2)
151151
BASIC="empty_main integer heap_alloc libc-mem vec string btreemap" # ensures we have the basics: pre-main code, system allocator
152152
UNIX="hello panic/panic panic/unwind concurrency/simple atomic libc-mem libc-misc libc-random env num_cpus" # the things that are very similar across all Unixes, and hence easily supported there
153-
TEST_TARGET=x86_64-unknown-freebsd run_tests_minimal $BASIC $UNIX time hashmap random threadname pthread fs libc-pipe
154-
TEST_TARGET=i686-unknown-freebsd run_tests_minimal $BASIC $UNIX time hashmap random threadname pthread fs libc-pipe
153+
TEST_TARGET=x86_64-unknown-freebsd run_tests_minimal $BASIC $UNIX time hashmap random fs libc-pipe
154+
TEST_TARGET=i686-unknown-freebsd run_tests_minimal $BASIC $UNIX time hashmap random fs libc-pipe
155155
TEST_TARGET=x86_64-unknown-illumos run_tests_minimal $BASIC $UNIX time hashmap random thread sync available-parallelism tls libc-pipe fs
156156
TEST_TARGET=x86_64-pc-solaris run_tests_minimal $BASIC $UNIX time hashmap random thread sync available-parallelism tls libc-pipe fs
157157
TEST_TARGET=aarch64-linux-android run_tests_minimal $BASIC $UNIX time hashmap random sync threadname pthread epoll eventfd

rust-version

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
ad211ced81509462cdfe4c29ed10f97279a0acae
1+
252b07bba419a075acfa1fa85d66683e9623c281

src/shims/native_lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ trait EvalContextExtPriv<'tcx>: crate::MiriInterpCxExt<'tcx> {
7272
}
7373
// Functions with no declared return type (i.e., the default return)
7474
// have the output_type `Tuple([])`.
75-
ty::Tuple(t_list) if t_list.len() == 0 => {
75+
ty::Tuple(t_list) if t_list.is_empty() => {
7676
unsafe { ffi::call::<()>(ptr, libffi_args.as_slice()) };
7777
return interp_ok(ImmTy::uninit(dest.layout));
7878
}

0 commit comments

Comments
 (0)