Commit Graph

3946 Commits

Author SHA1 Message Date
bors ff2e799e36 Auto merge of #1237 - RalfJung:rustup, r=RalfJung
rustup; remove no longer existing intrinsics
2020-03-17 20:12:14 +00:00
Ralf Jung b82cf36117 rustup; remove no longer existing intrinsics 2020-03-17 21:11:19 +01:00
bors 12b7cf877b Auto merge of #1235 - RalfJung:check-arith, r=RalfJung
avoid using unchecked casts or arithmetic
2020-03-17 14:22:44 +00:00
Ralf Jung 8b6af3eacb avoid using unchecked casts or arithmetic 2020-03-17 15:21:43 +01:00
bors 9082cc406a Auto merge of #1233 - RalfJung:rustup, r=RalfJung
rustup

Cc https://github.com/rust-lang/rust/issues/70055
2020-03-16 20:33:49 +00:00
Ralf Jung 8a26a288c2 rustup 2020-03-16 21:32:57 +01:00
bors 3cf495d762 Auto merge of #1232 - RalfJung:rustup, r=RalfJung
rustup
2020-03-16 09:00:44 +00:00
Ralf Jung bddf9e050b rustup 2020-03-16 09:59:01 +01:00
bors acdddc78bc Auto merge of #1231 - JOE1994:patch-1, r=RalfJung
Minor typo fix

**"initialziation"** => **"initialization"**
2020-03-15 22:12:36 +00:00
Youngsuk Kim a664156440 Minor typo fix
"initializiation" => "initialization"
2020-03-15 18:06:21 -04:00
bors 4129c0e0fd Auto merge of #1230 - RalfJung:cargo, r=RalfJung
Cargo.toml: group all dependencies together
2020-03-15 14:17:08 +00:00
Ralf Jung 92e3032941 Cargo.toml: group all dependencies together 2020-03-15 15:15:22 +01:00
bors a7891c05f7 Auto merge of #1227 - RalfJung:unwind, r=RalfJung
adjust Miri to needs of changed unwinding strategy
2020-03-15 10:18:40 +00:00
Ralf Jung 17a677f4a9 abort intrinsic is handled by librustc_mir now 2020-03-15 11:17:07 +01:00
Ralf Jung 956692d902 bump rust-version 2020-03-15 11:15:09 +01:00
Ralf Jung 1c4f27f1b2 adjust Miri to needs of changed unwinding strategy 2020-03-15 10:59:07 +01:00
bors a7580f795c Auto merge of #1228 - RalfJung:typo, r=RalfJung
fix typo and deduplicate comment
2020-03-14 11:06:03 +00:00
Ralf Jung a92b2274ce fix typo and deduplicate comment 2020-03-14 12:05:25 +01:00
bors 2a056a7a3b Auto merge of #1226 - RalfJung:rustup, r=RalfJung
rustup, fix for intrinsic rename and transmute error change

@bors r+
2020-03-14 08:28:43 +00:00
Ralf Jung 497fbcbf44 rustup, fix for intrinsic rename and transmute error change 2020-03-14 09:27:35 +01:00
bors 97c257530b 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.
2020-03-12 20:22:02 +00:00
Ralf Jung 13ae3147f0 refactor handling of diverging intrinsics/foreign functions 2020-03-12 21:20:16 +01:00
bors 5b3d2657cf Auto merge of #1223 - RalfJung:rustup, r=RalfJung
rustup, test Abort terminator
2020-03-12 19:49:27 +00:00
Ralf Jung 5531a79f4c rustup, test Abort terminator 2020-03-12 20:48:04 +01:00
bors 0f22d8a208 Auto merge of #1213 - lcnr:master, r=RalfJung
rm custom `intrinsics::discriminant_value`

@RalfJung requires https://github.com/rust-lang/rust/pull/69825
2020-03-12 16:50:12 +00:00
bors 4fc8542c4b Auto merge of #1221 - RalfJung:rustup, r=RalfJung
Rustup
2020-03-11 19:42:01 +00:00
Ralf Jung 76ee8ff458 use ctfe_backtracte variable for backtrace control 2020-03-11 20:39:18 +01:00
Ralf Jung 45d5a37787 rustup+fix 2020-03-11 20:39:18 +01:00
bors 704228d0bb 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? :) )
2020-03-11 19:12:05 +00:00
Ralf Jung 548c90e102 share some code between panic intrinsics, and fix the message 2020-03-11 19:53:07 +01:00
Elichai Turkel 2802c3cf0b Add tests for the new panic_if_any_invalid, panic_if_zero_invalid intrinsics 2020-03-11 16:02:49 +02:00
Elichai Turkel e81ebffa59 Implement panic_if_any_invalid and panic_if_zero_invalid intrinsics 2020-03-11 16:00:08 +02:00
Elichai Turkel 881e65c01b bump rust-version to latest 2020-03-11 15:39:18 +02:00
bors 676c4f8c8c 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
2020-03-09 16:04:10 +00:00
Ralf Jung 5040cb7f81 rustup 2020-03-09 17:03:45 +01:00
Ralf Jung 5ef48593fb adjust error 2020-03-09 17:03:39 +01:00
bors f2ed1abe34 Auto merge of #1218 - RalfJung:panic, r=RalfJung
properly panic in panic_if_uninhabited and align_offset shims
2020-03-08 19:01:59 +00:00
Ralf Jung 8394456247 properly panic in panic_if_uninhabited and align_offset shims 2020-03-08 20:00:40 +01:00
bors 96d080a542 Auto merge of #1217 - christianpoveda:environ-shim, r=RalfJung
move environ place to EnvVars

r? @RalfJung
2020-03-08 17:02:28 +00:00
Christian Poveda 5dc60d974b move environ place to EnvVars 2020-03-08 11:58:20 -05:00
bors b4032a86ea Auto merge of #1216 - RalfJung:env, r=RalfJung
move environ init to update_environ

@christianpoveda I thought of a way to simplify initialization a bit. :)
2020-03-08 16:34:40 +00:00
Ralf Jung 87dbf10e84 move environ init to update_environ 2020-03-08 17:21:02 +01:00
bors e9a25459e5 Auto merge of #1215 - RalfJung:readme, r=RalfJung
readme: mention the leaks we found
2020-03-08 16:16:02 +00:00
bors 689600fa4a Auto merge of #1214 - RalfJung:depup, r=RalfJung
bump dependencies

"quote 1.0.2" which we used got yanked, so update all the things.
2020-03-08 15:57:33 +00:00
Ralf Jung 69260115ac readme: mention the leaks we found 2020-03-08 16:50:19 +01:00
bors 574d81ce79 Auto merge of #1208 - christianpoveda:environ-shim, r=RalfJung
Environ shim

Remake of https://github.com/rust-lang/miri/pull/1147. There are three main problems with this:

1. For some reason `update_environ` is not updating `environ` when `setenv` or `unsetenv` are called. Even then it works during initialization.
2. I am not deallocating the old array with the variables in `update_environ`.
3. I had to store the `environ` place into `MemoryExtra` as a field to update it. I was thinking about changing `extern_statics` to store places instead of `AllocID`s to avoid this.

@RalfJung
2020-03-08 15:39:43 +00:00
Ralf Jung 5c4cc2e3e0 bump dependencies 2020-03-08 16:29:57 +01:00
Christian Poveda 8392a0c589 only expose environ on linux 2020-03-08 10:16:31 -05:00
Bastian Kauschke 6fd3c9174c rm custom intrinsics::discriminant_value 2020-03-08 14:31:57 +01:00
Christian Poveda 18a71ef7b3 minor corrections 2020-03-07 11:35:00 -05:00