]> git.lizzy.rs Git - rust.git/log
rust.git
4 years agotest harness informs tests about suitable temp dir
Ralf Jung [Mon, 23 Mar 2020 22:42:03 +0000 (23:42 +0100)]
test harness informs tests about suitable temp dir

4 years agomake fs.rs at least build under Windows
Ralf Jung [Mon, 23 Mar 2020 22:48:12 +0000 (23:48 +0100)]
make fs.rs at least build under Windows

4 years agoconvert dir separators on path load/store
Ralf Jung [Mon, 23 Mar 2020 18:57:40 +0000 (19:57 +0100)]
convert dir separators on path load/store

4 years agoroute all path reading/writing through central read/write methods
Ralf Jung [Mon, 23 Mar 2020 18:24:16 +0000 (19:24 +0100)]
route all path reading/writing through central read/write methods

4 years agoneed to unset MIRI_SYSROOT before calling 'cargo miri setup'
Ralf Jung [Sun, 22 Mar 2020 19:32:42 +0000 (20:32 +0100)]
need to unset MIRI_SYSROOT before calling 'cargo miri setup'

4 years agocross-test on a Windows host
Ralf Jung [Sun, 22 Mar 2020 19:08:00 +0000 (20:08 +0100)]
cross-test on a Windows host

4 years agoAuto merge of #1258 - RalfJung:rustup, r=RalfJung
bors [Tue, 24 Mar 2020 07:29:25 +0000 (07:29 +0000)]
Auto merge of #1258 - RalfJung:rustup, r=RalfJung

Rustup

4 years ago32bit macOS is no more
Ralf Jung [Tue, 24 Mar 2020 07:25:37 +0000 (08:25 +0100)]
32bit macOS is no more

4 years agorustup for trait MachineStopType
Ralf Jung [Tue, 24 Mar 2020 07:24:36 +0000 (08:24 +0100)]
rustup for trait MachineStopType

4 years agoAuto merge of #1256 - JOE1994:rw_widestr_helpers, r=RalfJung
bors [Tue, 24 Mar 2020 07:09:40 +0000 (07:09 +0000)]
Auto merge of #1256 - JOE1994:rw_widestr_helpers, r=RalfJung

helper functions for env_var emulation in Windows

Moving some of the changes submitted in PR #1225, in order to prevent the original PR from bloating too much.

4 years agohelper functions for env_var emulation in Windows
JOE1994 [Mon, 23 Mar 2020 19:08:57 +0000 (15:08 -0400)]
helper functions for env_var emulation in Windows

4 years agoAuto merge of #1257 - RalfJung:rustup, r=RalfJung
bors [Mon, 23 Mar 2020 22:55:08 +0000 (22:55 +0000)]
Auto merge of #1257 - RalfJung:rustup, r=RalfJung

Rustup

4 years agouse Wake trait for async-fn driver
Ralf Jung [Mon, 23 Mar 2020 22:53:54 +0000 (23:53 +0100)]
use Wake trait for async-fn driver

4 years agorustup
Ralf Jung [Mon, 23 Mar 2020 22:48:24 +0000 (23:48 +0100)]
rustup

4 years agoAuto merge of #1255 - RalfJung:os_str_bytes, r=RalfJung
bors [Mon, 23 Mar 2020 18:45:34 +0000 (18:45 +0000)]
Auto merge of #1255 - RalfJung:os_str_bytes, r=RalfJung

fix conditional compilation condition for os_str <-> bytes conversion

Turns out that condition was wrong and these functions never got compiled... Cc @christianpoveda

4 years agofix conditional compilation condition for os_str <-> bytes conversion
Ralf Jung [Mon, 23 Mar 2020 18:43:03 +0000 (19:43 +0100)]
fix conditional compilation condition for os_str <-> bytes conversion

4 years agoAuto merge of #1252 - RalfJung:rustup, r=RalfJung
bors [Mon, 23 Mar 2020 09:36:23 +0000 (09:36 +0000)]
Auto merge of #1252 - RalfJung:rustup, r=RalfJung

bump Rust; HashMap should now work on macOS even with isolation

4 years agobump Rust; HashMap should now work on macOS even with isolation
Ralf Jung [Mon, 23 Mar 2020 09:34:15 +0000 (10:34 +0100)]
bump Rust; HashMap should now work on macOS even with isolation

4 years agoAuto merge of #1250 - RalfJung:error-context, r=oli-obk
bors [Sun, 22 Mar 2020 22:34:23 +0000 (22:34 +0000)]
Auto merge of #1250 - RalfJung:error-context, r=oli-obk

give some context in error messages

### Some examples for how different errors look now

Unsupported operation:
```
error: unsupported operation: Miri does not support threading
  --> /home/r/.rustup/toolchains/miri/lib/rustlib/src/rust/src/libstd/sys/unix/thread.rs:68:19
   |
68 |         let ret = libc::pthread_create(&mut native, &attr, thread_start, &*p as *const _ as *mut _);
   |                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Miri does not support threading
   |
   = help: this is likely not a bug in the program; it indicates that the program performed an operation that the interpreter does not support
```
Unsupported operation that works without isolation:
```
error: unsupported operation: `clock_gettime` not available when isolation is enabled
   --> /home/r/.rustup/toolchains/miri/lib/rustlib/src/rust/src/libstd/sys/unix/time.rs:349:22
    |
349 |         cvt(unsafe { libc::clock_gettime(clock, &mut t.t) }).unwrap();
    |                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `clock_gettime` not available when isolation is enabled
    |
    = help: pass the flag `-Zmiri-disable-isolation` to disable isolation
```
Program abort:
```
error: program stopped: the evaluated program aborted execution
   --> /home/r/.rustup/toolchains/miri/lib/rustlib/src/rust/src/libstd/panicking.rs:530:18
    |
530 |         unsafe { intrinsics::abort() }
    |                  ^^^^^^^^^^^^^^^^^^^ the evaluated program aborted execution
    |
```
UB:
```
error: Undefined Behavior: type validation failed: encountered 2, but expected a boolean
 --> tests/compile-fail/validity/invalid_bool.rs:2:23
  |
2 |     let _b = unsafe { std::mem::transmute::<u8, bool>(2) }; //~ ERROR encountered 2, but expected a boolean
  |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ type validation failed: encountered 2, but expected a boolean
  |
  = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
```
Experimental UB:
```
error: Undefined Behavior: not granting access to tag <1562> because incompatible item is protected: [Unique for <1567> (call 1189)]
  --> tests/compile-fail/stacked_borrows/aliasing_mut1.rs:3:1
   |
3  | pub fn safe(_x: &mut i32, _y: &mut i32) {} //~ ERROR protect
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not granting access to tag <1562> because incompatible item is protected: [Unique for <1567> (call 1189)]
   |
   = help: this indicates a potential bug in the program: it performed an invalid operation, but the rules it violated are still experimental
```

Fixes https://github.com/rust-lang/miri/issues/417

4 years agolink to some websites for UB explanations
Ralf Jung [Sun, 22 Mar 2020 22:32:19 +0000 (23:32 +0100)]
link to some websites for UB explanations

4 years agofix outdated sysroot help message
Ralf Jung [Sun, 22 Mar 2020 19:09:14 +0000 (20:09 +0100)]
fix outdated sysroot help message

4 years agomove -Zmiri-disable-isolation hint to help
Ralf Jung [Sun, 22 Mar 2020 18:48:59 +0000 (19:48 +0100)]
move -Zmiri-disable-isolation hint to help

4 years agogive some context in error messages
Ralf Jung [Sun, 22 Mar 2020 17:50:12 +0000 (18:50 +0100)]
give some context in error messages

4 years agoAuto merge of #1249 - RalfJung:rustup, r=RalfJung
bors [Sun, 22 Mar 2020 08:05:35 +0000 (08:05 +0000)]
Auto merge of #1249 - RalfJung:rustup, r=RalfJung

Cross-test targets

We should now be able to run Linux targets on macOS hosts and vice versa.
Cc https://github.com/rust-lang/miri/issues/1198

4 years agorun-test.py: also print what we are testing for
Ralf Jung [Sun, 22 Mar 2020 08:04:10 +0000 (09:04 +0100)]
run-test.py: also print what we are testing for

4 years agomention cross-running in docs
Ralf Jung [Sun, 22 Mar 2020 07:55:53 +0000 (08:55 +0100)]
mention cross-running in docs

4 years agoplatform -> target
Ralf Jung [Sun, 22 Mar 2020 07:51:15 +0000 (08:51 +0100)]
platform -> target

4 years agofix bad use of FOREIGN_TARGET
Ralf Jung [Sat, 21 Mar 2020 22:28:10 +0000 (23:28 +0100)]
fix bad use of FOREIGN_TARGET

4 years agoalso cross-test Windows from Linux, macOS
Ralf Jung [Sat, 21 Mar 2020 22:26:44 +0000 (23:26 +0100)]
also cross-test Windows from Linux, macOS

4 years agodo more cross-testing
Ralf Jung [Sat, 21 Mar 2020 22:17:18 +0000 (23:17 +0100)]
do more cross-testing

4 years agobump Rust
Ralf Jung [Sat, 21 Mar 2020 22:17:07 +0000 (23:17 +0100)]
bump Rust

4 years agoAuto merge of #1248 - RalfJung:overflow, r=RalfJung
bors [Sat, 21 Mar 2020 17:09:57 +0000 (17:09 +0000)]
Auto merge of #1248 - RalfJung:overflow, r=RalfJung

detect UB: overflow in copy/write_bytes

Fixes https://github.com/rust-lang/miri/issues/1234

4 years agodetect UB: overflow in copy/write_bytes
Ralf Jung [Sat, 21 Mar 2020 16:54:33 +0000 (17:54 +0100)]
detect UB: overflow in copy/write_bytes

4 years agotest for zero-sized write_bytes to NULL
Ralf Jung [Sat, 21 Mar 2020 16:54:18 +0000 (17:54 +0100)]
test for zero-sized write_bytes to NULL

4 years ago./miri check
Ralf Jung [Sat, 21 Mar 2020 16:43:28 +0000 (17:43 +0100)]
./miri check

4 years agoAuto merge of #1247 - RalfJung:rustup, r=RalfJung
bors [Sat, 21 Mar 2020 12:13:39 +0000 (12:13 +0000)]
Auto merge of #1247 - RalfJung:rustup, r=RalfJung

call error location was fixed by rustup

4 years agoremove no longer needed (and sometimes broken) 'extern crate'
Ralf Jung [Sat, 21 Mar 2020 12:13:08 +0000 (13:13 +0100)]
remove no longer needed (and sometimes broken) 'extern crate'

4 years agocall error location was fixed by rustup
Ralf Jung [Sat, 21 Mar 2020 11:52:23 +0000 (12:52 +0100)]
call error location was fixed by rustup

4 years agoAuto merge of #1241 - RalfJung:dont-panic, r=RalfJung
bors [Sat, 21 Mar 2020 09:55:23 +0000 (09:55 +0000)]
Auto merge of #1241 - RalfJung:dont-panic, r=RalfJung

whitelist platforms where panicking should work

@CAD97 [proposed](https://github.com/rust-lang/miri/issues/1059#issuecomment-601217992) trying to get a better error for failed panics on Windows.

Could you test if this works for you?

4 years agofix tests
Ralf Jung [Sat, 21 Mar 2020 09:43:59 +0000 (10:43 +0100)]
fix tests

4 years agotest windows panic message
Ralf Jung [Sat, 21 Mar 2020 09:16:47 +0000 (10:16 +0100)]
test windows panic message

4 years agoAuto merge of #1243 - RalfJung:instant, r=RalfJung
bors [Fri, 20 Mar 2020 15:18:06 +0000 (15:18 +0000)]
Auto merge of #1243 - RalfJung:instant, r=RalfJung

implement Instant::now

For now, this is Linux-only.

Unlike `SystemTime`, we cannot convert `Instant` to something absolute via an epoch. But that's okay, that clock is relative anyway, so we just make up our own time anchor when interpretation starts.

Fixes https://github.com/rust-lang/miri/issues/1242

4 years agoimplement mach_absolute_time for macOS
Ralf Jung [Fri, 20 Mar 2020 14:54:41 +0000 (15:54 +0100)]
implement mach_absolute_time for macOS

4 years agoAuto merge of #1244 - RalfJung:readme, r=RalfJung
bors [Fri, 20 Mar 2020 14:57:58 +0000 (14:57 +0000)]
Auto merge of #1244 - RalfJung:readme, r=RalfJung

README updates

4 years agoadd some more miri-detected issues
Ralf Jung [Fri, 20 Mar 2020 14:57:11 +0000 (15:57 +0100)]
add some more miri-detected issues

4 years agoassert platform in time shims
Ralf Jung [Fri, 20 Mar 2020 14:11:54 +0000 (15:11 +0100)]
assert platform in time shims

4 years agoAuto merge of #1245 - RalfJung:rustup, r=RalfJung
bors [Fri, 20 Mar 2020 09:35:08 +0000 (09:35 +0000)]
Auto merge of #1245 - RalfJung:rustup, r=RalfJung

rustup

Just to make sure the CI failure we just saw was truly spurious (travis macOS being unreliable, as usual)

4 years agorustup
Ralf Jung [Fri, 20 Mar 2020 09:34:24 +0000 (10:34 +0100)]
rustup

4 years agowe also do not check floats for being init'd
Ralf Jung [Thu, 19 Mar 2020 22:19:17 +0000 (23:19 +0100)]
we also do not check floats for being init'd

4 years agoimplement CLOCK_MONOTONIC on Linux
Ralf Jung [Thu, 19 Mar 2020 22:00:02 +0000 (23:00 +0100)]
implement CLOCK_MONOTONIC on Linux

4 years agowhitelist platforms where panicking should work
Ralf Jung [Thu, 19 Mar 2020 14:50:02 +0000 (15:50 +0100)]
whitelist platforms where panicking should work

4 years agoAuto merge of #1219 - RalfJung:error-cleanup, r=RalfJung
bors [Thu, 19 Mar 2020 07:42:53 +0000 (07:42 +0000)]
Auto merge of #1219 - RalfJung:error-cleanup, r=RalfJung

rustup for error reform

This is the Miri side of https://github.com/rust-lang/rust/pull/69839.

4 years agorustup, and some final message adjustments
Ralf Jung [Thu, 19 Mar 2020 07:41:01 +0000 (08:41 +0100)]
rustup, and some final message adjustments

4 years agoadjust error messages for lower-case start
Ralf Jung [Mon, 9 Mar 2020 10:42:59 +0000 (11:42 +0100)]
adjust error messages for lower-case start

4 years agogetting a path should never fail
Ralf Jung [Mon, 9 Mar 2020 08:38:33 +0000 (09:38 +0100)]
getting a path should never fail

we basically treat them as lang items

4 years agoadd test for validation finding use-after-free
Ralf Jung [Mon, 9 Mar 2020 09:22:30 +0000 (10:22 +0100)]
add test for validation finding use-after-free

4 years agostart messages in lower-case
Ralf Jung [Mon, 9 Mar 2020 08:43:20 +0000 (09:43 +0100)]
start messages in lower-case

4 years agoadjust for error reform
Ralf Jung [Sun, 8 Mar 2020 22:34:54 +0000 (23:34 +0100)]
adjust for error reform

4 years agoAuto merge of #1239 - elichai:2020-03-abort-intrinsics, r=RalfJung
bors [Wed, 18 Mar 2020 12:20:30 +0000 (12:20 +0000)]
Auto merge of #1239 - elichai:2020-03-abort-intrinsics, r=RalfJung

Abort instead of panic on asserting intrinsics

This fixes #1222
replacing the panic with an abort and a corresponding message.
the stack trace is already printed, this just adds an optional message the caller can pass, and I just pass the same message we passed to the panic but now to the abort instead.

r? @RalfJung

4 years agoRemove uninhabit/zeroed tests to a new test file for abort checking
Elichai Turkel [Wed, 18 Mar 2020 11:18:08 +0000 (13:18 +0200)]
Remove uninhabit/zeroed tests to a new test file for abort checking

4 years agoAbort instead of panic in asserting intrinsics, because they might not be panic safe
Elichai Turkel [Wed, 18 Mar 2020 11:17:18 +0000 (13:17 +0200)]
Abort instead of panic in asserting intrinsics, because they might not be panic safe

4 years agoAdd an optional message to abort
Elichai Turkel [Wed, 18 Mar 2020 11:16:37 +0000 (13:16 +0200)]
Add an optional message to abort

4 years agoAuto merge of #1238 - RalfJung:mir-opt-test, r=oli-obk
bors [Wed, 18 Mar 2020 10:36:41 +0000 (10:36 +0000)]
Auto merge of #1238 - RalfJung:mir-opt-test, r=oli-obk

move repeated run of test suite (without and with MIR optimizations) out of compiletest

Just like we already pass the target architecture to our compiletest wrapper via `MIRI_TEST_TARGET` (and then have CI run compiletest with different values for that env var), we now do the same for running the tests with and without MIR optimizations.

This has the advantage of speeding up local `./miri test`, where in the vast majority of cases running tests both with and without optimizations is just a waste of time.

4 years agomove repeated run of test suite (without and with MIR optimizations) out of compiletest
Ralf Jung [Wed, 18 Mar 2020 10:19:01 +0000 (11:19 +0100)]
move repeated run of test suite (without and with MIR optimizations) out of compiletest

4 years agoAuto merge of #1237 - RalfJung:rustup, r=RalfJung
bors [Tue, 17 Mar 2020 20:12:14 +0000 (20:12 +0000)]
Auto merge of #1237 - RalfJung:rustup, r=RalfJung

rustup; remove no longer existing intrinsics

4 years agorustup; remove no longer existing intrinsics
Ralf Jung [Tue, 17 Mar 2020 19:53:34 +0000 (20:53 +0100)]
rustup; remove no longer existing intrinsics

4 years agoAuto merge of #1235 - RalfJung:check-arith, r=RalfJung
bors [Tue, 17 Mar 2020 14:22:44 +0000 (14:22 +0000)]
Auto merge of #1235 - RalfJung:check-arith, r=RalfJung

avoid using unchecked casts or arithmetic

4 years agoavoid using unchecked casts or arithmetic
Ralf Jung [Tue, 17 Mar 2020 14:18:53 +0000 (15:18 +0100)]
avoid using unchecked casts or arithmetic

4 years agoAuto merge of #1233 - RalfJung:rustup, r=RalfJung
bors [Mon, 16 Mar 2020 20:33:49 +0000 (20:33 +0000)]
Auto merge of #1233 - RalfJung:rustup, r=RalfJung

rustup

Cc https://github.com/rust-lang/rust/issues/70055

4 years agorustup
Ralf Jung [Mon, 16 Mar 2020 20:32:57 +0000 (21:32 +0100)]
rustup

4 years agoAuto merge of #1232 - RalfJung:rustup, r=RalfJung
bors [Mon, 16 Mar 2020 09:00:44 +0000 (09:00 +0000)]
Auto merge of #1232 - RalfJung:rustup, r=RalfJung

rustup

4 years agorustup
Ralf Jung [Mon, 16 Mar 2020 08:59:01 +0000 (09:59 +0100)]
rustup

4 years agoAuto merge of #1231 - JOE1994:patch-1, r=RalfJung
bors [Sun, 15 Mar 2020 22:12:36 +0000 (22:12 +0000)]
Auto merge of #1231 - JOE1994:patch-1, r=RalfJung

Minor typo fix

**"initialziation"** => **"initialization"**

4 years agoMinor typo fix
Youngsuk Kim [Sun, 15 Mar 2020 22:06:21 +0000 (18:06 -0400)]
Minor typo fix

"initializiation" => "initialization"

4 years agoAuto merge of #1230 - RalfJung:cargo, r=RalfJung
bors [Sun, 15 Mar 2020 14:17:08 +0000 (14:17 +0000)]
Auto merge of #1230 - RalfJung:cargo, r=RalfJung

Cargo.toml: group all dependencies together

4 years agoCargo.toml: group all dependencies together
Ralf Jung [Sun, 15 Mar 2020 14:15:22 +0000 (15:15 +0100)]
Cargo.toml: group all dependencies together

4 years agoAuto merge of #1227 - RalfJung:unwind, r=RalfJung
bors [Sun, 15 Mar 2020 10:18:40 +0000 (10:18 +0000)]
Auto merge of #1227 - RalfJung:unwind, r=RalfJung

adjust Miri to needs of changed unwinding strategy

4 years agoabort intrinsic is handled by librustc_mir now
Ralf Jung [Sun, 15 Mar 2020 10:17:07 +0000 (11:17 +0100)]
abort intrinsic is handled by librustc_mir now

4 years agobump rust-version
Ralf Jung [Sun, 15 Mar 2020 10:15:09 +0000 (11:15 +0100)]
bump rust-version

4 years agoadjust Miri to needs of changed unwinding strategy
Ralf Jung [Sat, 14 Mar 2020 10:53:09 +0000 (11:53 +0100)]
adjust Miri to needs of changed unwinding strategy

4 years agoAuto merge of #1228 - RalfJung:typo, r=RalfJung
bors [Sat, 14 Mar 2020 11:06:03 +0000 (11:06 +0000)]
Auto merge of #1228 - RalfJung:typo, r=RalfJung

fix typo and deduplicate comment

4 years agofix typo and deduplicate comment
Ralf Jung [Sat, 14 Mar 2020 11:05:25 +0000 (12:05 +0100)]
fix typo and deduplicate comment

4 years agoAuto merge of #1226 - RalfJung:rustup, r=RalfJung
bors [Sat, 14 Mar 2020 08:28:43 +0000 (08:28 +0000)]
Auto merge of #1226 - RalfJung:rustup, r=RalfJung

rustup, fix for intrinsic rename and transmute error change

@bors r+

4 years agorustup, fix for intrinsic rename and transmute error change
Ralf Jung [Sat, 14 Mar 2020 08:27:35 +0000 (09:27 +0100)]
rustup, fix for intrinsic rename and transmute error change

4 years agoAuto merge of #1224 - RalfJung:diverge, r=RalfJung
bors [Thu, 12 Mar 2020 20:22:02 +0000 (20:22 +0000)]
Auto merge of #1224 - RalfJung:diverge, r=RalfJung

refactor handling of diverging intrinsics/foreign functions

Also makes sure we don't accidentally call some normal intrinsics diverging -- which it turns out we did.

4 years agorefactor handling of diverging intrinsics/foreign functions
Ralf Jung [Thu, 12 Mar 2020 20:20:16 +0000 (21:20 +0100)]
refactor handling of diverging intrinsics/foreign functions

4 years agoAuto merge of #1223 - RalfJung:rustup, r=RalfJung
bors [Thu, 12 Mar 2020 19:49:27 +0000 (19:49 +0000)]
Auto merge of #1223 - RalfJung:rustup, r=RalfJung

rustup, test Abort terminator

4 years agorustup, test Abort terminator
Ralf Jung [Thu, 12 Mar 2020 19:46:58 +0000 (20:46 +0100)]
rustup, test Abort terminator

4 years agoAuto merge of #1213 - lcnr:master, r=RalfJung
bors [Thu, 12 Mar 2020 16:50:12 +0000 (16:50 +0000)]
Auto merge of #1213 - lcnr:master, r=RalfJung

rm custom `intrinsics::discriminant_value`

@RalfJung requires https://github.com/rust-lang/rust/pull/69825

4 years agoAuto merge of #1221 - RalfJung:rustup, r=RalfJung
bors [Wed, 11 Mar 2020 19:42:01 +0000 (19:42 +0000)]
Auto merge of #1221 - RalfJung:rustup, r=RalfJung

Rustup

4 years agouse ctfe_backtracte variable for backtrace control
Ralf Jung [Wed, 11 Mar 2020 19:21:44 +0000 (20:21 +0100)]
use ctfe_backtracte variable for backtrace control

4 years agorustup+fix
Ralf Jung [Wed, 11 Mar 2020 19:05:44 +0000 (20:05 +0100)]
rustup+fix

4 years agoAuto merge of #1220 - elichai:2020-03-bump, r=RalfJung
bors [Wed, 11 Mar 2020 19:12:05 +0000 (19:12 +0000)]
Auto merge of #1220 - elichai:2020-03-bump, r=RalfJung

Bump rust-version to latest

I hoped for some errors I could fix to learn more of the codebase but got none :/
IDK if it's still worth the PR hehe
(is there a TODO list or something like that I can look at when I'm in the mood of contributing to Miri? :) )

4 years agoshare some code between panic intrinsics, and fix the message
Ralf Jung [Wed, 11 Mar 2020 18:52:39 +0000 (19:52 +0100)]
share some code between panic intrinsics, and fix the message

4 years agoAdd tests for the new panic_if_any_invalid, panic_if_zero_invalid intrinsics
Elichai Turkel [Wed, 11 Mar 2020 14:02:49 +0000 (16:02 +0200)]
Add tests for the new panic_if_any_invalid, panic_if_zero_invalid intrinsics

4 years agoImplement panic_if_any_invalid and panic_if_zero_invalid intrinsics
Elichai Turkel [Wed, 11 Mar 2020 13:39:37 +0000 (15:39 +0200)]
Implement panic_if_any_invalid and panic_if_zero_invalid intrinsics

4 years agobump rust-version to latest
Elichai Turkel [Wed, 11 Mar 2020 12:58:27 +0000 (14:58 +0200)]
bump rust-version to latest

4 years agoAuto merge of #1210 - RalfJung:rustup-validity, r=RalfJung
bors [Mon, 9 Mar 2020 16:04:10 +0000 (16:04 +0000)]
Auto merge of #1210 - RalfJung:rustup-validity, r=RalfJung

rustup: adjust error message

This is the Miri side of https://github.com/rust-lang/rust/pull/69762

4 years agorustup
Ralf Jung [Mon, 9 Mar 2020 16:03:45 +0000 (17:03 +0100)]
rustup

4 years agoadjust error
Ralf Jung [Wed, 4 Mar 2020 22:16:24 +0000 (23:16 +0100)]
adjust error