]> git.lizzy.rs Git - rust.git/log
rust.git
4 years agoUse the machine stop error instead of abusing other error kinds
Oliver Scherer [Mon, 9 Dec 2019 13:29:28 +0000 (14:29 +0100)]
Use the machine stop error instead of abusing other error kinds

4 years agoRemove a flaky test
Oliver Scherer [Sat, 30 Nov 2019 23:04:24 +0000 (00:04 +0100)]
Remove a flaky test

4 years agoDocument the new flag
Oliver Scherer [Sat, 30 Nov 2019 23:03:06 +0000 (00:03 +0100)]
Document the new flag

4 years agoRename track-id to track-pointer-tag
Oliver Scherer [Sat, 30 Nov 2019 23:02:58 +0000 (00:02 +0100)]
Rename track-id to track-pointer-tag

4 years agoDetect all variants of stack removals
Oliver Scherer [Thu, 28 Nov 2019 13:33:35 +0000 (14:33 +0100)]
Detect all variants of stack removals

4 years agoVocabulary fix
Oliver Scherer [Thu, 28 Nov 2019 10:14:16 +0000 (11:14 +0100)]
Vocabulary fix

4 years agoAdd a scheme to find the place where an id was destroyed
Oliver Scherer [Thu, 28 Nov 2019 09:36:37 +0000 (10:36 +0100)]
Add a scheme to find the place where an id was destroyed

4 years agoAuto merge of #1109 - RalfJung:track-caller, r=RalfJung
bors [Sun, 8 Dec 2019 10:07:52 +0000 (10:07 +0000)]
Auto merge of #1109 - RalfJung:track-caller, r=RalfJung

add caller_location tests to Miri

The CTFE implementation seems to also work fine in Miri -- thanks a lot @anp :)

4 years agoadd caller_location tests to Miri
Ralf Jung [Sun, 8 Dec 2019 10:06:35 +0000 (11:06 +0100)]
add caller_location tests to Miri

4 years agoAuto merge of #1108 - RalfJung:rustup, r=RalfJung
bors [Sun, 8 Dec 2019 09:33:22 +0000 (09:33 +0000)]
Auto merge of #1108 - RalfJung:rustup, r=RalfJung

rustup

4 years agorustup
Ralf Jung [Sun, 8 Dec 2019 09:32:50 +0000 (10:32 +0100)]
rustup

4 years agoAuto merge of #1107 - RalfJung:rustup, r=RalfJung
bors [Sun, 8 Dec 2019 00:46:35 +0000 (00:46 +0000)]
Auto merge of #1107 - RalfJung:rustup, r=RalfJung

bump Rust, fix error messages

4 years agobump Rust, fix error messages
Ralf Jung [Sun, 8 Dec 2019 00:45:41 +0000 (01:45 +0100)]
bump Rust, fix error messages

4 years agoAuto merge of #1106 - RalfJung:memleak-ignore, r=RalfJung
bors [Sat, 7 Dec 2019 18:04:14 +0000 (18:04 +0000)]
Auto merge of #1106 - RalfJung:memleak-ignore, r=RalfJung

add flag to ignore memory leaks

4 years agofix all-targets build
Ralf Jung [Sat, 7 Dec 2019 17:50:07 +0000 (18:50 +0100)]
fix all-targets build

4 years agoAuto merge of #1105 - RalfJung:readme, r=oli-obk
bors [Sat, 7 Dec 2019 15:03:57 +0000 (15:03 +0000)]
Auto merge of #1105 - RalfJung:readme, r=oli-obk

better way to ignore tests in Miri

This is better because it avoids warnings due to unused imports (the ignored tests still get compiled, just not executed).

4 years agoadd flag to ignore memory leaks
Ralf Jung [Sat, 7 Dec 2019 12:44:48 +0000 (13:44 +0100)]
add flag to ignore memory leaks

4 years agouse recommended test exclusion technique in test
Ralf Jung [Sat, 7 Dec 2019 10:55:19 +0000 (11:55 +0100)]
use recommended test exclusion technique in test

4 years agobetter way to ignore tests in Miri
Ralf Jung [Sat, 7 Dec 2019 10:43:24 +0000 (11:43 +0100)]
better way to ignore tests in Miri

4 years agoAuto merge of #1104 - RalfJung:readme, r=oli-obk
bors [Fri, 6 Dec 2019 08:57:18 +0000 (08:57 +0000)]
Auto merge of #1104 - RalfJung:readme, r=oli-obk

update README

r? @oli-obk

4 years agowording
Ralf Jung [Fri, 6 Dec 2019 08:30:44 +0000 (09:30 +0100)]
wording

4 years agoREADME: Miri now supports panics and FS access
Ralf Jung [Fri, 6 Dec 2019 08:28:46 +0000 (09:28 +0100)]
README: Miri now supports panics and FS access

4 years agoAuto merge of #1103 - RalfJung:no-recompile, r=RalfJung
bors [Fri, 6 Dec 2019 07:27:43 +0000 (07:27 +0000)]
Auto merge of #1103 - RalfJung:no-recompile, r=RalfJung

avoid recompiling Miri on install

4 years agoavoid recompiling Miri on install
Ralf Jung [Fri, 6 Dec 2019 07:25:50 +0000 (08:25 +0100)]
avoid recompiling Miri on install

4 years agoAuto merge of #1102 - RalfJung:rsutup, r=RalfJung
bors [Wed, 4 Dec 2019 22:32:07 +0000 (22:32 +0000)]
Auto merge of #1102 - RalfJung:rsutup, r=RalfJung

rustup for find_fn rename

4 years agorustup for find_fn rename
Ralf Jung [Wed, 4 Dec 2019 22:31:39 +0000 (23:31 +0100)]
rustup for find_fn rename

4 years agoAuto merge of #1100 - RalfJung:os_str, r=RalfJung
bors [Wed, 4 Dec 2019 09:44:29 +0000 (09:44 +0000)]
Auto merge of #1100 - RalfJung:os_str, r=RalfJung

rename helper methods a bit

4 years agorename helper methods a bit
Ralf Jung [Wed, 4 Dec 2019 09:43:36 +0000 (10:43 +0100)]
rename helper methods a bit

4 years agoAuto merge of #1099 - RalfJung:os_str, r=RalfJung
bors [Wed, 4 Dec 2019 09:17:03 +0000 (09:17 +0000)]
Auto merge of #1099 - RalfJung:os_str, r=RalfJung

tweak and use OsStr interfaces

4 years agoavoid allocation in read_os_string_from_c_string
Ralf Jung [Wed, 4 Dec 2019 09:16:08 +0000 (10:16 +0100)]
avoid allocation in read_os_string_from_c_string

4 years agouse write_os_str_to_c_string for unix arg passing
Ralf Jung [Wed, 4 Dec 2019 08:55:36 +0000 (09:55 +0100)]
use write_os_str_to_c_string for unix arg passing

4 years agoAuto merge of #1093 - RalfJung:throw-machine-stop, r=RalfJung
bors [Tue, 3 Dec 2019 22:39:19 +0000 (22:39 +0000)]
Auto merge of #1093 - RalfJung:throw-machine-stop, r=RalfJung

use throw_machine_stop macro

Blocked on https://github.com/rust-lang/rust/pull/66951

4 years agorustup
Ralf Jung [Tue, 3 Dec 2019 22:38:41 +0000 (23:38 +0100)]
rustup

4 years agouse throw_machine_stop macro
Ralf Jung [Mon, 2 Dec 2019 10:02:11 +0000 (11:02 +0100)]
use throw_machine_stop macro

4 years agoAuto merge of #1097 - RalfJung:rustup, r=RalfJung
bors [Tue, 3 Dec 2019 16:38:20 +0000 (16:38 +0000)]
Auto merge of #1097 - RalfJung:rustup, r=RalfJung

bump Rust for exact_div fix

4 years agobump Rust for exact_div fix
Ralf Jung [Tue, 3 Dec 2019 16:37:42 +0000 (17:37 +0100)]
bump Rust for exact_div fix

4 years agoAuto merge of #1096 - RalfJung:rustup, r=RalfJung
bors [Tue, 3 Dec 2019 07:48:28 +0000 (07:48 +0000)]
Auto merge of #1096 - RalfJung:rustup, r=RalfJung

Rustup

bump Rust to latest HEAD

4 years agobump Rust to HEAD
Ralf Jung [Tue, 3 Dec 2019 07:21:52 +0000 (08:21 +0100)]
bump Rust to HEAD

4 years agoAuto merge of #1094 - Aaron1011:rustup-body, r=RalfJung
bors [Tue, 3 Dec 2019 07:20:20 +0000 (07:20 +0000)]
Auto merge of #1094 - Aaron1011:rustup-body, r=RalfJung

Rustup for `BodyCache` changes

4 years agoRustup for `BodyCache` changes
Aaron Hill [Tue, 3 Dec 2019 01:20:11 +0000 (20:20 -0500)]
Rustup for `BodyCache` changes

4 years agoAuto merge of #1084 - RalfJung:assert-panic, r=RalfJung
bors [Mon, 2 Dec 2019 15:48:42 +0000 (15:48 +0000)]
Auto merge of #1084 - RalfJung:assert-panic, r=RalfJung

proper support for `Assert` MIR terminators

Fixes https://github.com/rust-lang/miri/issues/1070
Blocked on https://github.com/rust-lang/rust/pull/66874

4 years agoignore another panicking test on Windows
Ralf Jung [Mon, 2 Dec 2019 15:48:18 +0000 (16:48 +0100)]
ignore another panicking test on Windows

4 years agorustup
Ralf Jung [Mon, 2 Dec 2019 15:04:51 +0000 (16:04 +0100)]
rustup

4 years agopanic errors are actually still possible
Ralf Jung [Sun, 1 Dec 2019 09:19:01 +0000 (10:19 +0100)]
panic errors are actually still possible

4 years agofix init_allocation_extra
Ralf Jung [Sun, 1 Dec 2019 09:18:41 +0000 (10:18 +0100)]
fix init_allocation_extra

4 years agosome error classes should be impossible
Ralf Jung [Sat, 30 Nov 2019 10:48:34 +0000 (11:48 +0100)]
some error classes should be impossible

4 years agoalso test built-in panics via should_panic
Ralf Jung [Sat, 30 Nov 2019 09:37:14 +0000 (10:37 +0100)]
also test built-in panics via should_panic

4 years agoadjust for init_allocation_extra
Ralf Jung [Fri, 29 Nov 2019 18:50:37 +0000 (19:50 +0100)]
adjust for init_allocation_extra

4 years agofix and expand panic tests
Ralf Jung [Fri, 29 Nov 2019 12:18:54 +0000 (13:18 +0100)]
fix and expand panic tests

4 years agobetter span for functions whose frame we push 'manually'
Ralf Jung [Fri, 29 Nov 2019 10:52:53 +0000 (11:52 +0100)]
better span for functions whose frame we push 'manually'

4 years agotest built-in panic catching
Ralf Jung [Fri, 29 Nov 2019 10:19:15 +0000 (11:19 +0100)]
test built-in panic catching

4 years agoimplement proper panicking for other MIR assertions
Ralf Jung [Fri, 29 Nov 2019 10:17:44 +0000 (11:17 +0100)]
implement proper panicking for other MIR assertions

Requires generalizing the call_function helper to arbitrary Immediate arguments

4 years agoimplement proper panicking for failed index check
Ralf Jung [Fri, 29 Nov 2019 09:16:03 +0000 (10:16 +0100)]
implement proper panicking for failed index check

4 years agoAuto merge of #1079 - RalfJung:coercion-error, r=RalfJung
bors [Mon, 2 Dec 2019 14:43:08 +0000 (14:43 +0000)]
Auto merge of #1079 - RalfJung:coercion-error, r=RalfJung

Test diverging closure coercion

Adds a test for https://github.com/rust-lang/miri/issues/1075. Depends on https://github.com/rust-lang/rust/pull/66827.

4 years agorustup
Ralf Jung [Mon, 2 Dec 2019 14:42:38 +0000 (15:42 +0100)]
rustup

4 years agotest diverging closure fn ptr coercion
Ralf Jung [Wed, 27 Nov 2019 22:28:59 +0000 (23:28 +0100)]
test diverging closure fn ptr coercion

4 years agoexpand coerce fn test
Ralf Jung [Wed, 27 Nov 2019 20:50:20 +0000 (21:50 +0100)]
expand coerce fn test

4 years agoAuto merge of #1092 - RalfJung:rustup, r=RalfJung
bors [Mon, 2 Dec 2019 08:14:57 +0000 (08:14 +0000)]
Auto merge of #1092 - RalfJung:rustup, r=RalfJung

Rustup

4 years agoalso indicate abort via new MachineStop variant
Ralf Jung [Mon, 2 Dec 2019 08:13:58 +0000 (09:13 +0100)]
also indicate abort via new MachineStop variant

4 years agoimprove style in catch_panic test
Ralf Jung [Mon, 2 Dec 2019 08:11:33 +0000 (09:11 +0100)]
improve style in catch_panic test

4 years agouse new MachineStop error variant
Ralf Jung [Mon, 2 Dec 2019 08:05:35 +0000 (09:05 +0100)]
use new MachineStop error variant

4 years agoAuto merge of #1087 - RalfJung:toolchain, r=oli-obk
bors [Sun, 1 Dec 2019 14:25:08 +0000 (14:25 +0000)]
Auto merge of #1087 - RalfJung:toolchain, r=oli-obk

add toolchain mgmt script

I've been using a variant of this script for some time now, and figured others might find it useful as well.

4 years agodon't assume a nightly toolchain is installed
Ralf Jung [Sun, 1 Dec 2019 14:16:55 +0000 (15:16 +0100)]
don't assume a nightly toolchain is installed

4 years agoAuto merge of #1091 - RalfJung:run-test, r=RalfJung
bors [Sun, 1 Dec 2019 11:57:57 +0000 (11:57 +0000)]
Auto merge of #1091 - RalfJung:run-test, r=RalfJung

run-test: make sure the sysroot building output does not distort our tests

4 years agorun-test: make sure the sysroot building output does not distort our tests
Ralf Jung [Sun, 1 Dec 2019 11:57:09 +0000 (12:57 +0100)]
run-test: make sure the sysroot building output does not distort our tests

4 years agoAuto merge of #1082 - RalfJung:panic, r=RalfJung
bors [Sun, 1 Dec 2019 10:05:53 +0000 (10:05 +0000)]
Auto merge of #1082 - RalfJung:panic, r=RalfJung

test more panics

Add some tests for https://github.com/rust-lang/miri/issues/1071.

Blocked on https://github.com/rust-lang/rust/pull/66844.

4 years agofix catch_panic.stderr
Ralf Jung [Sun, 1 Dec 2019 10:04:51 +0000 (11:04 +0100)]
fix catch_panic.stderr

4 years agotest more panics
Ralf Jung [Thu, 28 Nov 2019 18:17:43 +0000 (19:17 +0100)]
test more panics

4 years agoAuto merge of #1088 - RalfJung:globalctxt, r=RalfJung
bors [Sun, 1 Dec 2019 09:30:00 +0000 (09:30 +0000)]
Auto merge of #1088 - RalfJung:globalctxt, r=RalfJung

fix for GlobalCtxt changes

Blocked on https://github.com/rust-lang/rust/pull/66896

4 years agorustup
Ralf Jung [Sun, 1 Dec 2019 09:29:19 +0000 (10:29 +0100)]
rustup

4 years agotest for rustup-toolchain-install-master
Ralf Jung [Sun, 1 Dec 2019 09:22:16 +0000 (10:22 +0100)]
test for rustup-toolchain-install-master

4 years agotoolchain -> rustup-toolchain
Ralf Jung [Sun, 1 Dec 2019 09:20:16 +0000 (10:20 +0100)]
toolchain -> rustup-toolchain

4 years agofix for GlobalCtxt changes
Ralf Jung [Sat, 30 Nov 2019 09:19:00 +0000 (10:19 +0100)]
fix for GlobalCtxt changes

4 years agoAuto merge of #1089 - RalfJung:should-panic, r=RalfJung
bors [Sat, 30 Nov 2019 09:32:34 +0000 (09:32 +0000)]
Auto merge of #1089 - RalfJung:should-panic, r=RalfJung

test should_panic checking the panic string

4 years agotest should_panic checking the panic string
Ralf Jung [Sat, 30 Nov 2019 09:31:53 +0000 (10:31 +0100)]
test should_panic checking the panic string

4 years agoadd toolchain mgmt script
Ralf Jung [Sat, 30 Nov 2019 09:06:12 +0000 (10:06 +0100)]
add toolchain mgmt script

4 years agoAuto merge of #1085 - RalfJung:panic-runtime, r=RalfJung
bors [Fri, 29 Nov 2019 20:39:05 +0000 (20:39 +0000)]
Auto merge of #1085 - RalfJung:panic-runtime, r=RalfJung

avoid injected_panic_runtime which is going away

Thanks @petrochenkov for suggesting this!

4 years agoavoid injected_panic_runtime which is going away
Ralf Jung [Fri, 29 Nov 2019 20:37:59 +0000 (21:37 +0100)]
avoid injected_panic_runtime which is going away

4 years agoAuto merge of #1083 - RalfJung:fn-call-helper, r=oli-obk
bors [Fri, 29 Nov 2019 10:27:40 +0000 (10:27 +0000)]
Auto merge of #1083 - RalfJung:fn-call-helper, r=oli-obk

Add and use helper function for calling a machine function and passing it some arguments

4 years agofix comment
Ralf Jung [Fri, 29 Nov 2019 10:08:27 +0000 (11:08 +0100)]
fix comment

4 years agoAdd and use helper function for calling a machine function and passing it some arguments
Ralf Jung [Thu, 28 Nov 2019 22:42:10 +0000 (23:42 +0100)]
Add and use helper function for calling a machine function and passing it some arguments

4 years agoAuto merge of #1077 - RalfJung:unwind_to_block, r=RalfJung
bors [Wed, 27 Nov 2019 08:13:59 +0000 (08:13 +0000)]
Auto merge of #1077 - RalfJung:unwind_to_block, r=RalfJung

adjust for goto_block refactoring

The Miri side of https://github.com/rust-lang/rust/pull/66646

4 years agoonly run leak test on clean platforms
Ralf Jung [Wed, 27 Nov 2019 08:13:37 +0000 (09:13 +0100)]
only run leak test on clean platforms

4 years agobump Rust version
Ralf Jung [Wed, 27 Nov 2019 07:45:24 +0000 (08:45 +0100)]
bump Rust version

4 years agoadjust for goto_block refactoring
Ralf Jung [Mon, 25 Nov 2019 21:48:31 +0000 (22:48 +0100)]
adjust for goto_block refactoring

4 years agoAuto merge of #1078 - RalfJung:uprust, r=RalfJung
bors [Tue, 26 Nov 2019 13:29:38 +0000 (13:29 +0000)]
Auto merge of #1078 - RalfJung:uprust, r=RalfJung

cargo update

4 years agocargo update
Ralf Jung [Tue, 26 Nov 2019 13:28:56 +0000 (14:28 +0100)]
cargo update

4 years agoAuto merge of #1076 - RalfJung:coercion-test, r=RalfJung
bors [Mon, 25 Nov 2019 14:12:15 +0000 (14:12 +0000)]
Auto merge of #1076 - RalfJung:coercion-test, r=RalfJung

test closure-to-fn-ptr coercions a bit more

Also add some commented-out failing tests, Cc https://github.com/rust-lang/rust/issues/66738 https://github.com/rust-lang/miri/issues/1075

4 years agoand another reference
Ralf Jung [Mon, 25 Nov 2019 14:10:39 +0000 (15:10 +0100)]
and another reference

4 years agorename some more tests
Ralf Jung [Mon, 25 Nov 2019 14:08:47 +0000 (15:08 +0100)]
rename some more tests

4 years agorename test and add some references
Ralf Jung [Mon, 25 Nov 2019 14:08:24 +0000 (15:08 +0100)]
rename test and add some references

4 years agotest closure-to-fn-ptr coercions a bit more
Ralf Jung [Mon, 25 Nov 2019 14:01:05 +0000 (15:01 +0100)]
test closure-to-fn-ptr coercions a bit more

4 years agoAuto merge of #1072 - RalfJung:locally-built-rustc, r=oli-obk
bors [Sun, 24 Nov 2019 17:55:16 +0000 (17:55 +0000)]
Auto merge of #1072 - RalfJung:locally-built-rustc, r=oli-obk

cargo-miri: support locally built rustc

This also removes an odd hack from our `./miri` script.

4 years agoAuto merge of #1073 - RalfJung:catch_panic, r=RalfJung
bors [Sun, 24 Nov 2019 09:52:44 +0000 (09:52 +0000)]
Auto merge of #1073 - RalfJung:catch_panic, r=RalfJung

beef up catch_panic test

Do not silence panic msg printing (so we subsume the tests checking those), and check a few different ways of raising a panic.

4 years agoalso test non-string panic payload
Ralf Jung [Sun, 24 Nov 2019 09:51:48 +0000 (10:51 +0100)]
also test non-string panic payload

4 years agobeef up catch_panic test
Ralf Jung [Sun, 24 Nov 2019 09:24:41 +0000 (10:24 +0100)]
beef up catch_panic test

4 years agomiri script does not need to handle locally built rustc any more
Ralf Jung [Sat, 23 Nov 2019 09:36:23 +0000 (10:36 +0100)]
miri script does not need to handle locally built rustc any more

4 years agocargo-miri: also find Rust sources when being run in a locally built, linked toolchain
Ralf Jung [Sat, 23 Nov 2019 09:33:49 +0000 (10:33 +0100)]
cargo-miri: also find Rust sources when being run in a locally built, linked toolchain

4 years agoAuto merge of #1069 - RalfJung:typo, r=RalfJung
bors [Fri, 22 Nov 2019 17:12:47 +0000 (17:12 +0000)]
Auto merge of #1069 - RalfJung:typo, r=RalfJung

typo

4 years agotypo
Ralf Jung [Fri, 22 Nov 2019 17:12:10 +0000 (18:12 +0100)]
typo