]> git.lizzy.rs Git - rust.git/log
rust.git
3 years agoAuto merge of #1820 - Aaron1011:rustup-const-err, r=RalfJung
bors [Mon, 31 May 2021 16:04:22 +0000 (16:04 +0000)]
Auto merge of #1820 - Aaron1011:rustup-const-err, r=RalfJung

Rustup for const_err changes

3 years agoRustup for const_err changes
Aaron Hill [Mon, 31 May 2021 15:50:25 +0000 (10:50 -0500)]
Rustup for const_err changes

3 years agoAuto merge of #1791 - Aaron1011:measureme, r=RalfJung
bors [Sun, 30 May 2021 15:14:23 +0000 (15:14 +0000)]
Auto merge of #1791 - Aaron1011:measureme, r=RalfJung

Add `measureme` integration for profiling the interpreted program

This PR uses the `measureme` crate to profile the call stack of the
program being interpreted by Miri. This is accomplished by starting a
measureme 'event' when we enter a function call, and ending the event
when we exit the call. The `measureme` tooling can be used to produce a
call stack from the generated profile data.

Limitations:
* We currently record every single entry/exit. This might generate very
  large profile outputs for programs with a large number of function
  calls. In follow-up work, we might want to explore sampling (e.g. only
  recording every N function calls).
* This does not integrate very well with Miri's concurrency support.
  Each event we record starts when we push a frame, and ends when we pop
  a frame. As a result, the timing recorded for a particular frame will include all of the work Miri does before that frame completes, including executing another thread.

The `measureme` integration is off by default, and must be enabled via
`-Zmiri-measureme=<output_name>`

3 years agoadd comment to debug impl
Ralf Jung [Sun, 30 May 2021 15:13:49 +0000 (17:13 +0200)]
add comment to debug impl

3 years agoAddress more review comments
Aaron Hill [Sun, 30 May 2021 15:04:57 +0000 (10:04 -0500)]
Address more review comments

3 years agoRun fmt
Aaron Hill [Sat, 29 May 2021 22:16:12 +0000 (17:16 -0500)]
Run fmt

3 years agoAddress review comments
Aaron Hill [Sat, 29 May 2021 22:09:46 +0000 (17:09 -0500)]
Address review comments

3 years agoUse active thread id
Aaron Hill [Sat, 8 May 2021 17:17:58 +0000 (13:17 -0400)]
Use active thread id

3 years agoAdd `measureme` integration for profiling the interpreted program
Aaron Hill [Sat, 8 May 2021 16:20:51 +0000 (12:20 -0400)]
Add `measureme` integration for profiling the interpreted program

This PR uses the `measureme` crate to profile the call stack of the
program being interpreted by Miri. This is accomplished by starting a
measureme 'event' when we enter a function call, and ending the event
when we exit the call. The `measureme` tooling can be used to produce a
call stack from the generated profile data.

Limitations:
* We currently record every single entry/exit. This might generate very
  large profile outputs for programs with a large number of function
  calls. In follow-up work, we might want to explore sampling (e.g. only
  recording every N function calls).
* This does not integrate very well with Miri's concurrency support.
  Each event we record starts when we push a frame, and ends when we pop
  a frame. As a result, switching between virtual threads will cause
  events from different threads to be interleaved. Additionally, the
  recorded for a particular frame will include all of the work Miri does
  before that frame completes, including executing another thread.

The `measureme` integration is off by default, and must be enabled via
`-Zmiri-measureme=<output_name>`

3 years agoAuto merge of #1812 - hyd-dev:85546, r=RalfJung
bors [Fri, 28 May 2021 20:11:11 +0000 (20:11 +0000)]
Auto merge of #1812 - hyd-dev:85546, r=RalfJung

Fix toolstate for rust-lang/rust#85546

cc rust-lang/rust#85780

3 years ago`unwind` is no longer `Option<BasicBlock>`
hyd-dev [Sat, 22 May 2021 14:45:00 +0000 (22:45 +0800)]
`unwind` is no longer `Option<BasicBlock>`

3 years agoAuto merge of #1817 - hyd-dev:doctest, r=RalfJung
bors [Thu, 27 May 2021 21:44:16 +0000 (21:44 +0000)]
Auto merge of #1817 - hyd-dev:doctest, r=RalfJung

Skip doctests of `proc-macro` crates

Fixes #1813.

Verified that the newly added tests failed without the `cargo-miri` change and pass with normal `cargo test`.

3 years agoChange preexisting "doc-test" to "doctest"
hyd-dev [Thu, 27 May 2021 11:48:07 +0000 (19:48 +0800)]
Change preexisting "doc-test" to "doctest"

3 years agoChange "Doc-tests" in the comment to "Doctests"
hyd-dev [Thu, 27 May 2021 11:44:48 +0000 (19:44 +0800)]
Change "Doc-tests" in the comment to "Doctests"

3 years agoUse `compile_error!` instead of `use num_cpus`
hyd-dev [Thu, 27 May 2021 11:22:42 +0000 (19:22 +0800)]
Use `compile_error!` instead of `use num_cpus`

3 years ago"doc-tests" -> "doctests"
hyd-dev [Thu, 27 May 2021 10:34:38 +0000 (18:34 +0800)]
"doc-tests" -> "doctests"

3 years agoAuto merge of #1819 - scottmcm:patch-1, r=RalfJung
bors [Thu, 27 May 2021 07:21:49 +0000 (07:21 +0000)]
Auto merge of #1819 - scottmcm:patch-1, r=RalfJung

Add `copy_within` to the SB trophy case

3 years agoAdd `copy_within` to the SB trophy case
scottmcm [Thu, 27 May 2021 00:14:13 +0000 (00:14 +0000)]
Add `copy_within` to the SB trophy case

3 years agoSkip doctests of `proc-macro` crates
hyd-dev [Wed, 26 May 2021 22:40:47 +0000 (06:40 +0800)]
Skip doctests of `proc-macro` crates

3 years agoAuto merge of #1814 - RalfJung:rustup, r=RalfJung
bors [Sun, 23 May 2021 16:08:53 +0000 (16:08 +0000)]
Auto merge of #1814 - RalfJung:rustup, r=RalfJung

avoid unnecessary RefCell calls

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

3 years agorustup
Ralf Jung [Sun, 23 May 2021 16:05:50 +0000 (18:05 +0200)]
rustup

3 years agofix a Stacked Borrows test whose output changed
Ralf Jung [Sun, 23 May 2021 10:37:52 +0000 (12:37 +0200)]
fix a Stacked Borrows test whose output changed

3 years agoallocate backtrace strings mutably
Ralf Jung [Sun, 23 May 2021 10:26:37 +0000 (12:26 +0200)]
allocate backtrace strings mutably

3 years agobetter approach to skip ZST reborrows
Ralf Jung [Sun, 23 May 2021 09:52:41 +0000 (11:52 +0200)]
better approach to skip ZST reborrows

3 years agoavoid some borrow_mut calls in data_race
Ralf Jung [Sun, 23 May 2021 09:00:25 +0000 (11:00 +0200)]
avoid some borrow_mut calls in data_race

3 years agoavoid unnecessary RefCell calls in Stacked Borrows
Ralf Jung [Sun, 23 May 2021 08:47:29 +0000 (10:47 +0200)]
avoid unnecessary RefCell calls in Stacked Borrows

3 years agoAuto merge of #1815 - RalfJung:rustup2, r=RalfJung
bors [Sun, 23 May 2021 10:40:13 +0000 (10:40 +0000)]
Auto merge of #1815 - RalfJung:rustup2, r=RalfJung

rustup

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

3 years agorustup
Ralf Jung [Sun, 23 May 2021 10:39:27 +0000 (12:39 +0200)]
rustup

3 years agoAuto merge of #1811 - RalfJung:less-rc, r=RalfJung
bors [Sat, 22 May 2021 12:56:51 +0000 (12:56 +0000)]
Auto merge of #1811 - RalfJung:less-rc, r=RalfJung

get rid of some `Rc`

Now that the memory access hooks get references to `MemoryExtra`, we can avoid refcounting for the global state of Stacked Borrows and the data race detector.

3 years agofmt
Ralf Jung [Sat, 22 May 2021 12:55:33 +0000 (14:55 +0200)]
fmt

3 years agoget rid of Rc in data_race
Ralf Jung [Sat, 22 May 2021 12:47:14 +0000 (14:47 +0200)]
get rid of Rc in data_race

3 years agoget rid of Rc in Stacked Borrows
Ralf Jung [Sat, 22 May 2021 11:24:08 +0000 (13:24 +0200)]
get rid of Rc in Stacked Borrows

3 years agoAuto merge of #1809 - RalfJung:rustup, r=RalfJung
bors [Thu, 20 May 2021 17:54:56 +0000 (17:54 +0000)]
Auto merge of #1809 - RalfJung:rustup, r=RalfJung

rustup

3 years agorustup
Ralf Jung [Thu, 20 May 2021 11:32:18 +0000 (13:32 +0200)]
rustup

3 years agoAuto merge of #1804 - RalfJung:ptrless-allocs, r=RalfJung
bors [Wed, 19 May 2021 14:34:39 +0000 (14:34 +0000)]
Auto merge of #1804 - RalfJung:ptrless-allocs, r=RalfJung

update for Memory API changes

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

3 years agofix write_os_str_to_wide_str
Ralf Jung [Wed, 19 May 2021 14:34:14 +0000 (16:34 +0200)]
fix write_os_str_to_wide_str

3 years agofmt
Ralf Jung [Wed, 19 May 2021 14:10:28 +0000 (16:10 +0200)]
fmt

3 years agorustup
Ralf Jung [Wed, 19 May 2021 13:58:05 +0000 (15:58 +0200)]
rustup

3 years agoavoid importing C functions in alloc_write_race test
Ralf Jung [Mon, 17 May 2021 11:56:00 +0000 (13:56 +0200)]
avoid importing C functions in alloc_write_race test

3 years agoupdate for Memory API changes
Ralf Jung [Mon, 17 May 2021 11:50:45 +0000 (13:50 +0200)]
update for Memory API changes

3 years agoAuto merge of #1808 - RalfJung:fmt, r=oli-obk
bors [Wed, 19 May 2021 12:19:24 +0000 (12:19 +0000)]
Auto merge of #1808 - RalfJung:fmt, r=oli-obk

add (bors-ignored) formatting check job

3 years agoover 'default' instead of 'override' (consistent with main build job)
Ralf Jung [Wed, 19 May 2021 08:57:38 +0000 (10:57 +0200)]
over 'default' instead of 'override' (consistent with main build job)

3 years agofmt
Ralf Jung [Wed, 19 May 2021 08:50:51 +0000 (10:50 +0200)]
fmt

3 years agoadd (bors-ignored) formatting check job
Ralf Jung [Wed, 19 May 2021 08:47:17 +0000 (10:47 +0200)]
add (bors-ignored) formatting check job

3 years agoAuto merge of #1806 - RalfJung:rustup, r=RalfJung
bors [Mon, 17 May 2021 22:27:31 +0000 (22:27 +0000)]
Auto merge of #1806 - RalfJung:rustup, r=RalfJung

rustup

`@bors` r+

3 years agorustup
Ralf Jung [Mon, 17 May 2021 22:11:05 +0000 (00:11 +0200)]
rustup

3 years agoAuto merge of #1805 - RalfJung:c_str, r=RalfJung
bors [Mon, 17 May 2021 12:33:51 +0000 (12:33 +0000)]
Auto merge of #1805 - RalfJung:c_str, r=RalfJung

stop relying on c_str/wide_str helpers in rustc

This is a part of https://github.com/rust-lang/miri/pull/1804 that we can already do.

3 years agostop relying on c_str/wide_str helpers in rustc
Ralf Jung [Mon, 17 May 2021 12:31:59 +0000 (14:31 +0200)]
stop relying on c_str/wide_str helpers in rustc

3 years agoAuto merge of #1803 - RalfJung:fmt, r=RalfJung
bors [Mon, 17 May 2021 08:59:20 +0000 (08:59 +0000)]
Auto merge of #1803 - RalfJung:fmt, r=RalfJung

fix rustfmt fallout

3 years agofix rustfmt fallout
Ralf Jung [Mon, 17 May 2021 08:57:21 +0000 (10:57 +0200)]
fix rustfmt fallout

3 years agoAuto merge of #1802 - RalfJung:rustup, r=RalfJung
bors [Mon, 17 May 2021 07:37:04 +0000 (07:37 +0000)]
Auto merge of #1802 - RalfJung:rustup, r=RalfJung

rustup

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

3 years agorustup
Ralf Jung [Mon, 17 May 2021 07:34:39 +0000 (09:34 +0200)]
rustup

3 years agoAuto merge of #1801 - RalfJung:rustfmt, r=oli-obk
bors [Sun, 16 May 2021 23:30:29 +0000 (23:30 +0000)]
Auto merge of #1801 - RalfJung:rustfmt, r=oli-obk

rustfmt

I liberally applied `rustfmt::skip` where I really did not like the rustfmt formatting.

3 years agohand-held formatting for remaining files
Ralf Jung [Sun, 16 May 2021 09:48:08 +0000 (11:48 +0200)]
hand-held formatting for remaining files

3 years agoformat much of Miri
Ralf Jung [Sun, 16 May 2021 09:28:01 +0000 (11:28 +0200)]
format much of Miri

3 years agoconfigure rustfmt; fmt cargo-miri
Ralf Jung [Sun, 16 May 2021 09:10:27 +0000 (11:10 +0200)]
configure rustfmt; fmt cargo-miri

3 years agoAuto merge of #1799 - RalfJung:rustup, r=RalfJung
bors [Sat, 15 May 2021 13:33:26 +0000 (13:33 +0000)]
Auto merge of #1799 - RalfJung:rustup, r=RalfJung

rustup

Also fixes the line ending in our version file.

3 years agorustup
Ralf Jung [Sat, 15 May 2021 13:14:19 +0000 (15:14 +0200)]
rustup

3 years agoAuto merge of #1798 - RalfJung:nogit, r=oli-obk
bors [Sat, 15 May 2021 13:14:14 +0000 (13:14 +0000)]
Auto merge of #1798 - RalfJung:nogit, r=oli-obk

support building Miri outside a git repo

Fixes https://github.com/rust-lang/rust/issues/84182

`@semarie` this should fix your problem... but I think any version of Miri actually shipped to users should have the proper git version information embedded, so I am not sure if this is the right fix. How do you do this for rustc proper? Even stable builds usually have a git version:
```
$ rustc +stable --version
rustc 1.51.0 (2fd73fabe 2021-03-23)
```

3 years agosupport building Miri outside a git repo
Ralf Jung [Sat, 15 May 2021 12:17:30 +0000 (14:17 +0200)]
support building Miri outside a git repo

3 years agoAuto merge of #1794 - cbeuw:83813, r=RalfJung
bors [Wed, 12 May 2021 14:57:42 +0000 (14:57 +0000)]
Auto merge of #1794 - cbeuw:83813, r=RalfJung

Sync with rustc_span changes

rust-lang/rust#83813 made some changes to SourceMap and RealFileName. Now to get a string from a `rustc_span::FileName`, we need to specify if we would like the local filesystem path or remapped path via `--remap-path-prefix`. There seems to be only one place in miri that requires change.

3 years agoUpdate rust commit sha
Andy Wang [Wed, 12 May 2021 13:45:12 +0000 (14:45 +0100)]
Update rust commit sha

3 years agoPrefer remapped filename in backtrace to match rustc behaviour
Andy Wang [Wed, 12 May 2021 13:38:50 +0000 (14:38 +0100)]
Prefer remapped filename in backtrace to match rustc behaviour

3 years agoAuto merge of #1792 - RalfJung:rustup, r=RalfJung
bors [Tue, 11 May 2021 13:33:21 +0000 (13:33 +0000)]
Auto merge of #1792 - RalfJung:rustup, r=RalfJung

rustup

3 years agorustup
Ralf Jung [Tue, 11 May 2021 13:32:05 +0000 (15:32 +0200)]
rustup

3 years agoAuto merge of #1790 - hyd-dev:rustup, r=RalfJung
bors [Sat, 8 May 2021 09:43:01 +0000 (09:43 +0000)]
Auto merge of #1790 - hyd-dev:rustup, r=RalfJung

Update pointer error messages

cc rust-lang/rust#85027

3 years agoUpdate pointer error messages
hyd-dev [Sat, 8 May 2021 07:33:27 +0000 (15:33 +0800)]
Update pointer error messages

3 years agoAuto merge of #1789 - RalfJung:array-to-elem, r=RalfJung
bors [Fri, 7 May 2021 07:25:41 +0000 (07:25 +0000)]
Auto merge of #1789 - RalfJung:array-to-elem, r=RalfJung

stacked borrows: ensure array-to-elem casts behave correctly

When "as"-casting an entire array, that should create a raw ptr usable for all elements in the array, even if we immediately cast to the element type.

3 years agostacked borrows: ensure array-to-elem casts behave correctly
Ralf Jung [Fri, 7 May 2021 07:24:33 +0000 (09:24 +0200)]
stacked borrows: ensure array-to-elem casts behave correctly

3 years agoAuto merge of #1788 - hyd-dev:rustup, r=RalfJung
bors [Tue, 4 May 2021 08:27:00 +0000 (08:27 +0000)]
Auto merge of #1788 - hyd-dev:rustup, r=RalfJung

`encountered a NULL reference` -> `encountered a null reference`

It's changed from "NULL" to "null" (probably by rust-lang/rust#84842) in `rustc`, and causing some test failures:
https://github.com/rust-lang/miri/runs/2498333632#step:8:640

3 years agoAuto merge of #1787 - DianaNites:patch-1, r=RalfJung
bors [Tue, 4 May 2021 08:08:31 +0000 (08:08 +0000)]
Auto merge of #1787 - DianaNites:patch-1, r=RalfJung

Fix broken self-link

3 years ago`encountered a NULL reference` -> `encountered a null reference`
hyd-dev [Tue, 4 May 2021 07:53:19 +0000 (15:53 +0800)]
`encountered a NULL reference` -> `encountered a null reference`

3 years agoFix dead self-link
Diana [Tue, 4 May 2021 02:52:09 +0000 (22:52 -0400)]
Fix dead self-link

3 years agoAuto merge of #1785 - Smittyvb:fast-math-ub, r=RalfJung
bors [Mon, 3 May 2021 17:32:50 +0000 (17:32 +0000)]
Auto merge of #1785 - Smittyvb:fast-math-ub, r=RalfJung

Throw UB if f*_fast intrinsic called with non-finite value

Calling these intrinsics with non-finite values is undefined behaviour, since they result in `f*` intrinsics in LLVM with the `fast` flag, and `fast` math on non-finite values results in `poison` values. (technically LLVM only considers it UB upon _using_ the value, but that shouldn't make much of a difference)

3 years agoSimplify finiteness checking
Smitty [Mon, 3 May 2021 14:08:42 +0000 (10:08 -0400)]
Simplify finiteness checking

3 years agotest for infinite value in f*_fast
Smitty [Mon, 3 May 2021 13:56:51 +0000 (09:56 -0400)]
test for infinite value in f*_fast

3 years agoAuto merge of #1786 - RalfJung:rustup, r=RalfJung
bors [Mon, 3 May 2021 09:25:41 +0000 (09:25 +0000)]
Auto merge of #1786 - RalfJung:rustup, r=RalfJung

fix checking os_family

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

3 years agoadjust for different 'yield' hint on aarch64
Ralf Jung [Mon, 3 May 2021 09:25:05 +0000 (11:25 +0200)]
adjust for different 'yield' hint on aarch64

3 years agofix checking os_family
Ralf Jung [Mon, 3 May 2021 07:57:13 +0000 (09:57 +0200)]
fix checking os_family

3 years agoUB if f*_fast intrinsic called with nonfinite value
Smitty [Sun, 2 May 2021 16:25:00 +0000 (12:25 -0400)]
UB if f*_fast intrinsic called with nonfinite value

3 years agoAuto merge of #1784 - hyd-dev:harness-false, r=RalfJung
bors [Sat, 1 May 2021 16:07:48 +0000 (16:07 +0000)]
Auto merge of #1784 - hyd-dev:harness-false, r=RalfJung

Use `harness = false` instead of `#![feature(custom_test_frameworks)]`

Quoting from the comment in `tests/compiletest.rs`:
> Custom test runner, to avoid libtest being wrapped around compiletest which wraps libtest.

I believe `harness = false` is more suitable for that purpose.

I have verified that both `./miri test` and `LD_LIBRARY_PATH=$PWD/build/x86_64-unknown-linux-gnu/stage2/lib PATH=$PWD/build/bin:$PATH ./x.py test src/tools/miri` work well.

3 years agoUse `harness = false` instead of `#![feature(custom_test_frameworks)]`
hyd-dev [Fri, 30 Apr 2021 09:22:24 +0000 (17:22 +0800)]
Use `harness = false` instead of `#![feature(custom_test_frameworks)]`

3 years agoAuto merge of #1783 - hyd-dev:rustup, r=RalfJung
bors [Fri, 30 Apr 2021 14:08:13 +0000 (14:08 +0000)]
Auto merge of #1783 - hyd-dev:rustup, r=RalfJung

Rustup for rust-lang/rust#84401

cc rust-lang/rust#84741

3 years agoRustup for rust-lang/rust#84401
hyd-dev [Fri, 30 Apr 2021 10:50:40 +0000 (18:50 +0800)]
Rustup for rust-lang/rust#84401

3 years agoAuto merge of #1781 - RalfJung:rustup, r=RalfJung
bors [Sun, 25 Apr 2021 14:58:18 +0000 (14:58 +0000)]
Auto merge of #1781 - RalfJung:rustup, r=RalfJung

rustup

3 years agorustup
Ralf Jung [Sun, 25 Apr 2021 14:57:48 +0000 (16:57 +0200)]
rustup

3 years agoAuto merge of #1769 - RalfJung:remove-compat, r=oli-obk
bors [Thu, 22 Apr 2021 07:47:56 +0000 (07:47 +0000)]
Auto merge of #1769 - RalfJung:remove-compat, r=oli-obk

remove compatibility code for passing miri flags via cargo arguments

With https://github.com/rust-lang/miri/pull/1540, we deprecated `cargo miri test -- -Zmiri-disable-stacked-borrows` as a style of passing flags to Miri, introducing `MIRIFLAGS="-Zmiri-disable-stacked-borrows" cargo miri test` instead. This made `cargo miri` more compatible with `cargo`; both now behave the same in terms of argument parsing.

However, to avoid breaking things, I introduced some backwards compatibility hack such that the old way would still work. Six months later, I think it is time to remove that hack.

3 years agoAuto merge of #1778 - RalfJung:thread-local-const-init, r=RalfJung
bors [Tue, 20 Apr 2021 08:01:46 +0000 (08:01 +0000)]
Auto merge of #1778 - RalfJung:thread-local-const-init, r=RalfJung

test thread_local_const_init

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

3 years agomake TLS-drop-test more cross-platform
Ralf Jung [Tue, 20 Apr 2021 07:59:26 +0000 (09:59 +0200)]
make TLS-drop-test more cross-platform

3 years agoAuto merge of #1779 - RalfJung:cargo-miri-xargo, r=RalfJung
bors [Tue, 20 Apr 2021 07:41:41 +0000 (07:41 +0000)]
Auto merge of #1779 - RalfJung:cargo-miri-xargo, r=RalfJung

fix MIRI_BE_RUSTC value during sysroot build

`@hyd-dev` pointed out that `MIRI_BE_RUSTC` is set to an incorrect value during the xargo sysroot build. This fixes that.

3 years agorustup
Ralf Jung [Tue, 20 Apr 2021 07:40:18 +0000 (09:40 +0200)]
rustup

3 years agofix MIRI_BE_RUSTC value during sysroot build
Ralf Jung [Sun, 18 Apr 2021 10:29:31 +0000 (12:29 +0200)]
fix MIRI_BE_RUSTC value during sysroot build

3 years agotest thread_local_const_init
Ralf Jung [Sun, 18 Apr 2021 08:57:56 +0000 (10:57 +0200)]
test thread_local_const_init

3 years agoAuto merge of #1777 - crlf0710:fix_compilation, r=RalfJung
bors [Fri, 16 Apr 2021 16:46:05 +0000 (16:46 +0000)]
Auto merge of #1777 - crlf0710:fix_compilation, r=RalfJung

Remove `main_fn.rs` test.

Fixes build error caused by https://github.com/rust-lang/rust/issues/84240 .

3 years agoRemove `main_fn.rs` test.
Charles Lew [Fri, 16 Apr 2021 14:22:01 +0000 (22:22 +0800)]
Remove `main_fn.rs` test.

3 years agoAuto merge of #1775 - ABouttefeux:master, r=RalfJung
bors [Thu, 15 Apr 2021 08:19:18 +0000 (08:19 +0000)]
Auto merge of #1775 - ABouttefeux:master, r=RalfJung

Fix failing test after merge of PR rust#83948

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

3 years agochange rust version to head
Aliénore Bouttefeux [Thu, 15 Apr 2021 08:17:54 +0000 (10:17 +0200)]
change rust version to head

3 years agoallow deref of null ptr in test
Aliénore Bouttefeux [Thu, 15 Apr 2021 08:00:39 +0000 (10:00 +0200)]
allow deref of null ptr in test

3 years agoAuto merge of #1774 - RalfJung:contrib, r=RalfJung
bors [Mon, 12 Apr 2021 17:01:45 +0000 (17:01 +0000)]
Auto merge of #1774 - RalfJung:contrib, r=RalfJung

fix CONTRIBUTING example

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

3 years agofix CONTRIBUTING example
Ralf Jung [Mon, 12 Apr 2021 17:01:10 +0000 (19:01 +0200)]
fix CONTRIBUTING example