]> git.lizzy.rs Git - rust.git/log
rust.git
3 years agoAuto merge of #1632 - RalfJung:rustup, r=RalfJung
bors [Fri, 20 Nov 2020 13:08:30 +0000 (13:08 +0000)]
Auto merge of #1632 - RalfJung:rustup, r=RalfJung

rustup

fix statx

3 years agorustup
Ralf Jung [Fri, 20 Nov 2020 13:07:52 +0000 (14:07 +0100)]
rustup

3 years agoAuto merge of #1630 - RalfJung:rustup, r=RalfJung
bors [Thu, 19 Nov 2020 08:39:37 +0000 (08:39 +0000)]
Auto merge of #1630 - RalfJung:rustup, r=RalfJung

Rustup

Includes https://github.com/rust-lang/miri/pull/1626 and https://github.com/rust-lang/miri/pull/1629.

3 years agoavoid fallback logic (and we do not need the flag value currently anyway)
Ralf Jung [Thu, 19 Nov 2020 08:36:06 +0000 (09:36 +0100)]
avoid fallback logic (and we do not need the flag value currently anyway)

3 years agoMake weak syscalls in std work.
Mara Bos [Wed, 18 Nov 2020 22:15:32 +0000 (23:15 +0100)]
Make weak syscalls in std work.

std now looks up `getrandom` and `statx` with `dlsym` before attempting
to use `syscall(SYS_.., ..)`.

It also now passes all arguments as a machine-sized word, instead of
their original types.

3 years agoNormalize column numbers
est31 [Sun, 15 Nov 2020 04:01:10 +0000 (05:01 +0100)]
Normalize column numbers

3 years agorustup
Ralf Jung [Thu, 19 Nov 2020 08:21:03 +0000 (09:21 +0100)]
rustup

3 years agoAuto merge of #1624 - RalfJung:rustup, r=RalfJung
bors [Thu, 12 Nov 2020 15:51:10 +0000 (15:51 +0000)]
Auto merge of #1624 - RalfJung:rustup, r=RalfJung

rustup; less strict timing tests

3 years agorustup; less strict timing tests
Ralf Jung [Thu, 12 Nov 2020 15:50:24 +0000 (16:50 +0100)]
rustup; less strict timing tests

3 years agoAuto merge of #1623 - RalfJung:rustup, r=RalfJung
bors [Wed, 11 Nov 2020 09:34:41 +0000 (09:34 +0000)]
Auto merge of #1623 - RalfJung:rustup, r=RalfJung

rustup

3 years agorustup
Ralf Jung [Wed, 11 Nov 2020 09:29:10 +0000 (10:29 +0100)]
rustup

3 years agoAuto merge of #1621 - RalfJung:rustup, r=RalfJung
bors [Tue, 10 Nov 2020 15:53:31 +0000 (15:53 +0000)]
Auto merge of #1621 - RalfJung:rustup, r=RalfJung

Rustup; test btreemap with raw ptr tracking

3 years agotest btreemap with raw ptr tracking
Ralf Jung [Tue, 10 Nov 2020 15:51:55 +0000 (16:51 +0100)]
test btreemap with raw ptr tracking

3 years agoremove some unnecessary feature flags
Ralf Jung [Tue, 10 Nov 2020 15:51:07 +0000 (16:51 +0100)]
remove some unnecessary feature flags

3 years agorustup and update test
Ralf Jung [Tue, 10 Nov 2020 15:47:56 +0000 (16:47 +0100)]
rustup and update test

3 years agoAuto merge of #1615 - jyn514:contributing-instructions, r=RalfJung
bors [Sat, 7 Nov 2020 23:42:21 +0000 (23:42 +0000)]
Auto merge of #1615 - jyn514:contributing-instructions, r=RalfJung

Improve contributing instructions

This builds on the changes from https://github.com/rust-lang/miri/pull/1612 and should not be merged before.

- Fix incorrect comment
- Recommend `x.py setup` over manually editing config.toml
- Link to rustc-dev-guide

3 years agoImprove contributing instructions
Joshua Nelson [Sat, 31 Oct 2020 19:06:06 +0000 (15:06 -0400)]
Improve contributing instructions

- Fix incorrect comment
- Recommend `x.py setup` over manually editing config.toml
- Link to rustc-dev-guide

3 years agoAuto merge of #1612 - camelid:patch-1, r=RalfJung
bors [Sat, 7 Nov 2020 20:12:16 +0000 (20:12 +0000)]
Auto merge of #1612 - camelid:patch-1, r=RalfJung

CONTRIBUTING.md: Use `build --stage 1` instead of `build --stage 2`

It seems to work fine with `--stage 1` and it should be faster.

Cc #1610
Cc `@jyn514`

3 years agoCONTRIBUTING.md: Update comment
Camelid [Sat, 7 Nov 2020 19:26:41 +0000 (11:26 -0800)]
CONTRIBUTING.md: Update comment

Co-authored-by: Ralf Jung <post@ralfj.de>
3 years agoAuto merge of #1620 - RalfJung:overflow, r=RalfJung
bors [Sat, 7 Nov 2020 14:58:41 +0000 (14:58 +0000)]
Auto merge of #1620 - RalfJung:overflow, r=RalfJung

enable overflow checks in the standard library

3 years agoenable overflow checks in the standard library
Ralf Jung [Sat, 7 Nov 2020 14:56:25 +0000 (15:56 +0100)]
enable overflow checks in the standard library

3 years agoAuto merge of #1619 - RalfJung:rustup, r=RalfJung
bors [Thu, 5 Nov 2020 16:10:13 +0000 (16:10 +0000)]
Auto merge of #1619 - RalfJung:rustup, r=RalfJung

rustup

3 years agorustup
Ralf Jung [Thu, 5 Nov 2020 16:09:44 +0000 (17:09 +0100)]
rustup

3 years agoAuto merge of #1614 - RalfJung:raw-retag, r=RalfJung
bors [Tue, 3 Nov 2020 19:07:45 +0000 (19:07 +0000)]
Auto merge of #1614 - RalfJung:raw-retag, r=RalfJung

Stacked Borrows: test raw-ref-to-field with raw ptr tracking

Adds a test for https://github.com/rust-lang/rust/pull/78597 (blocked on that landing first)

3 years agorustup
Ralf Jung [Tue, 3 Nov 2020 19:07:19 +0000 (20:07 +0100)]
rustup

3 years agofix trophy case URL
Ralf Jung [Sat, 31 Oct 2020 15:28:56 +0000 (16:28 +0100)]
fix trophy case URL

3 years agotest Rc with raw pointer tracking
Ralf Jung [Sat, 31 Oct 2020 15:23:41 +0000 (16:23 +0100)]
test Rc with raw pointer tracking

3 years agofix writing to read-only raw pointer in thread-local test
Ralf Jung [Sat, 31 Oct 2020 15:22:16 +0000 (16:22 +0100)]
fix writing to read-only raw pointer in thread-local test

3 years agoStacked Borrows: test raw-ref-to-field with raw ptr tracking
Ralf Jung [Sat, 31 Oct 2020 12:56:46 +0000 (13:56 +0100)]
Stacked Borrows: test raw-ref-to-field with raw ptr tracking

3 years agoAuto merge of #1613 - RalfJung:test-normalize, r=RalfJung
bors [Sat, 31 Oct 2020 12:48:49 +0000 (12:48 +0000)]
Auto merge of #1613 - RalfJung:test-normalize, r=RalfJung

backtrace tests: support more ways of checking out Rust locally

Tests failed when using a local build as my folders are called `rustc`, `rustc.2`, ...
Expand the regex to also support that naming scheme.

3 years agobacktrace tests: support more ways of checking out Rust locally
Ralf Jung [Sat, 31 Oct 2020 12:47:42 +0000 (13:47 +0100)]
backtrace tests: support more ways of checking out Rust locally

3 years agoCONTRIBUTING.md: Use `build --stage 1` instead of `build --stage 2`
Camelid [Fri, 30 Oct 2020 21:33:12 +0000 (14:33 -0700)]
CONTRIBUTING.md: Use `build --stage 1` instead of `build --stage 2`

It seems to work fine with `--stage 1` and it should be faster.

3 years agoAuto merge of #1611 - RalfJung:timing-tests, r=RalfJung
bors [Fri, 30 Oct 2020 18:22:11 +0000 (18:22 +0000)]
Auto merge of #1611 - RalfJung:timing-tests, r=RalfJung

increase timeout to avoid spurious test failures

just saw this fail on macOS in PR CI, so add some extra safety margin

3 years agoincrease timeout to avoid spurious test failures
Ralf Jung [Fri, 30 Oct 2020 17:59:58 +0000 (18:59 +0100)]
increase timeout to avoid spurious test failures

3 years agoAuto merge of #1610 - camelid:patch-2, r=RalfJung
bors [Fri, 30 Oct 2020 17:58:03 +0000 (17:58 +0000)]
Auto merge of #1610 - camelid:patch-2, r=RalfJung

Update locally-built rustc instructions

Cc rust-lang/rust#78435

3 years agoUpdate locally-built rustc instructions
Camelid [Fri, 30 Oct 2020 00:00:12 +0000 (17:00 -0700)]
Update locally-built rustc instructions

3 years agoAuto merge of #1609 - camelid:patch-1, r=RalfJung
bors [Thu, 29 Oct 2020 23:37:41 +0000 (23:37 +0000)]
Auto merge of #1609 - camelid:patch-1, r=RalfJung

Fix link in README

The section it references is now in `CONTRIBUTING.md`.

3 years agoFix link in README
Camelid [Thu, 29 Oct 2020 23:14:54 +0000 (16:14 -0700)]
Fix link in README

3 years agoAuto merge of #1607 - RalfJung:rustup, r=RalfJung
bors [Thu, 29 Oct 2020 19:58:10 +0000 (19:58 +0000)]
Auto merge of #1607 - RalfJung:rustup, r=RalfJung

rustup

3 years agorustup
Ralf Jung [Thu, 29 Oct 2020 19:57:38 +0000 (20:57 +0100)]
rustup

3 years agoAuto merge of #1606 - RalfJung:trophy, r=oli-obk
bors [Wed, 28 Oct 2020 13:40:51 +0000 (13:40 +0000)]
Auto merge of #1606 - RalfJung:trophy, r=oli-obk

update trophy case

3 years agoAuto merge of #1603 - RalfJung:track-raw, r=oli-obk
bors [Wed, 28 Oct 2020 13:19:25 +0000 (13:19 +0000)]
Auto merge of #1603 - RalfJung:track-raw, r=oli-obk

add an option to track raw pointer tags in Stacked Borrows

Also make error messages more informative by printing the affected memory location

3 years agoupdate trophy case
Ralf Jung [Wed, 28 Oct 2020 13:05:37 +0000 (14:05 +0100)]
update trophy case

3 years agotest raw pointer tracking; we cannot track raw pointers on Windows
Ralf Jung [Wed, 28 Oct 2020 12:50:27 +0000 (13:50 +0100)]
test raw pointer tracking; we cannot track raw pointers on Windows

3 years agoAuto merge of #1604 - RalfJung:std-debug-assert, r=oli-obk
bors [Wed, 28 Oct 2020 12:54:01 +0000 (12:54 +0000)]
Auto merge of #1604 - RalfJung:std-debug-assert, r=oli-obk

disable debug assertions in the standard library

Debug assertions in the standard library can be somewhat expensive to check, in particular the ones covering each and every `ptr::write/copy/copy_nonoverlapping`. Miri will find most of those problems anyway since they cause UB. There are other debug assertions, such as ensuring internal invariants are maintained, but given how slow Miri already is, I think it is better to skip those checks in Miri and instead figure out a better way for people to use a standard library with debug assertions enabled.

3 years agoexpand flag docs
Ralf Jung [Wed, 28 Oct 2020 11:51:25 +0000 (12:51 +0100)]
expand flag docs

3 years agoAuto merge of #1605 - RalfJung:readme, r=RalfJung
bors [Wed, 28 Oct 2020 11:58:08 +0000 (11:58 +0000)]
Auto merge of #1605 - RalfJung:readme, r=RalfJung

Readme: remove outdated CI badges

3 years agoremove outdated CI badges
Ralf Jung [Wed, 28 Oct 2020 11:57:41 +0000 (12:57 +0100)]
remove outdated CI badges

3 years agodisable debug assertions in the standard library
Ralf Jung [Wed, 28 Oct 2020 09:48:33 +0000 (10:48 +0100)]
disable debug assertions in the standard library

3 years agorun some tests with raw pointer tracking
Ralf Jung [Wed, 28 Oct 2020 11:35:05 +0000 (12:35 +0100)]
run some tests with raw pointer tracking

3 years agoadd an option to track raw pointer tags in Stacked Borrows
Ralf Jung [Wed, 28 Oct 2020 11:23:35 +0000 (12:23 +0100)]
add an option to track raw pointer tags in Stacked Borrows

3 years agoStacked Borrows: print affected memory location on errors
Ralf Jung [Wed, 28 Oct 2020 11:04:39 +0000 (12:04 +0100)]
Stacked Borrows: print affected memory location on errors

3 years agoAuto merge of #1602 - RalfJung:box, r=RalfJung
bors [Tue, 27 Oct 2020 16:27:05 +0000 (16:27 +0000)]
Auto merge of #1602 - RalfJung:box, r=RalfJung

test Box::into_raw aliasing

Directly test aliasing problems caused by `Box::into_raw` issues (like we have them again right now due to https://github.com/rust-lang/rust/pull/77187, but the pinned rustc is older than that so this should still be able to land).

3 years agotest Box::into_raw aliasing
Ralf Jung [Tue, 27 Oct 2020 15:58:08 +0000 (16:58 +0100)]
test Box::into_raw aliasing

3 years agoAuto merge of #1601 - RalfJung:misc, r=RalfJung
bors [Tue, 27 Oct 2020 13:29:14 +0000 (13:29 +0000)]
Auto merge of #1601 - RalfJung:misc, r=RalfJung

pointer tag tracking: also show when tag is being created

Also use bash to make sure `&>` works.

3 years agopointer tag tracking: also show when tag is being created
Ralf Jung [Tue, 27 Oct 2020 13:22:29 +0000 (14:22 +0100)]
pointer tag tracking: also show when tag is being created

3 years agoUse bash to make sure &> works
Ralf Jung [Tue, 27 Oct 2020 13:21:59 +0000 (14:21 +0100)]
Use bash to make sure &> works

3 years agoAuto merge of #1600 - RalfJung:rustup, r=RalfJung
bors [Sun, 25 Oct 2020 09:02:22 +0000 (09:02 +0000)]
Auto merge of #1600 - RalfJung:rustup, r=RalfJung

rustup; make panic output less dependent on stdlib internals

3 years agorustup; make panic output less dependent on stdlib internals
Ralf Jung [Sun, 25 Oct 2020 09:00:50 +0000 (10:00 +0100)]
rustup; make panic output less dependent on stdlib internals

3 years agoAuto merge of #1599 - camelid:default-args-const, r=RalfJung
bors [Sat, 24 Oct 2020 23:03:47 +0000 (23:03 +0000)]
Auto merge of #1599 - camelid:default-args-const, r=RalfJung

Make `miri_default_args()` a constant

Feel free to close this if this is intentionally not a constant.

3 years agoMake `miri_default_args()` a constant
Camelid [Sat, 24 Oct 2020 19:46:02 +0000 (12:46 -0700)]
Make `miri_default_args()` a constant

3 years agoAuto merge of #1598 - camelid:hide-readlink-error, r=RalfJung
bors [Sat, 24 Oct 2020 11:26:10 +0000 (11:26 +0000)]
Auto merge of #1598 - camelid:hide-readlink-error, r=RalfJung

Hide readlink error in `./miri`

Fixes #1597.

`./miri` is just testing whether the platform supports `readlink -e`,
but it didn't hide properly hide the stderr output. This fixes that.

3 years agoAuto merge of #1596 - camelid:fix-readme, r=RalfJung
bors [Sat, 24 Oct 2020 11:04:19 +0000 (11:04 +0000)]
Auto merge of #1596 - camelid:fix-readme, r=RalfJung

Fix README

Add a paragraph break in the license section for clarity.

## Before

![image](https://user-images.githubusercontent.com/37223377/97042945-a5d3e500-1526-11eb-9c16-49f17f253e44.png)

## After

![image](https://user-images.githubusercontent.com/37223377/97042981-b2f0d400-1526-11eb-88c4-0db1119c2781.png)

3 years agoAuto merge of #1594 - camelid:dont-force-install-xargo, r=RalfJung
bors [Sat, 24 Oct 2020 10:42:24 +0000 (10:42 +0000)]
Auto merge of #1594 - camelid:dont-force-install-xargo, r=RalfJung

Don't force-install xargo

Previously miri used `cargo install xargo -f` which shouldn't be
necessary anymore since `cargo install` will now upgrade without `-f`.

The only reason I can see to use `-f` is from the cargo docs:

> This is also useful if something has changed on the system that you
> want to rebuild with, such as a newer version of `rustc`.

See the [discussion on Zulip](https://rust-lang.zulipchat.com/#narrow/stream/131828-t-compiler/topic/why.20does.20miri.20require.20xargo/near/214351239).

3 years agoHide readlink error in `./miri`
Camelid [Fri, 23 Oct 2020 20:00:33 +0000 (13:00 -0700)]
Hide readlink error in `./miri`

`./miri` is just testing whether the platform supports `readlink -e`,
but it didn't hide properly hide the stderr output. This fixes that.

3 years agoFix README
Camelid [Fri, 23 Oct 2020 18:53:34 +0000 (11:53 -0700)]
Fix README

3 years agoDon't force-install xargo
Camelid [Fri, 23 Oct 2020 18:48:34 +0000 (11:48 -0700)]
Don't force-install xargo

Previously miri used `cargo install xargo -f` which shouldn't be
necessary anymore since `cargo install` will now upgrade without `-f`.

The only reason I can see to use `-f` is from the cargo docs:

> This is also useful if something has changed on the system that you
> want to rebuild with, such as a newer version of `rustc`.

See the [discussion on Zulip](https://rust-lang.zulipchat.com/#narrow/stream/131828-t-compiler/topic/why.20does.20miri.20require.20xargo/near/214351239).

3 years agoAuto merge of #1593 - rust-lang:test, r=RalfJung
bors [Thu, 22 Oct 2020 08:36:45 +0000 (08:36 +0000)]
Auto merge of #1593 - rust-lang:test, r=RalfJung

fix './miri test'

3 years agofix './miri test'
Ralf Jung [Thu, 22 Oct 2020 08:36:01 +0000 (10:36 +0200)]
fix './miri test'

3 years agoAuto merge of #1592 - RalfJung:rustup, r=RalfJung
bors [Thu, 22 Oct 2020 08:08:41 +0000 (08:08 +0000)]
Auto merge of #1592 - RalfJung:rustup, r=RalfJung

rustup; increase slack for timing tests

3 years agorustup; increase slack for timing tests
Ralf Jung [Thu, 22 Oct 2020 07:47:02 +0000 (09:47 +0200)]
rustup; increase slack for timing tests

3 years agoAuto merge of #1590 - RalfJung:trophy, r=RalfJung
bors [Thu, 22 Oct 2020 07:46:10 +0000 (07:46 +0000)]
Auto merge of #1590 - RalfJung:trophy, r=RalfJung

another TiKV bug for the trophy case :)

Cc `@brson` thanks for the ping!

3 years agoanother TiKV bug for the trophy case :)
Ralf Jung [Wed, 21 Oct 2020 10:50:45 +0000 (12:50 +0200)]
another TiKV bug for the trophy case :)

3 years agoAuto merge of #1589 - Aaron1011:enable-normal-backtrace, r=RalfJung
bors [Wed, 21 Oct 2020 07:19:17 +0000 (07:19 +0000)]
Auto merge of #1589 - Aaron1011:enable-normal-backtrace, r=RalfJung

Enable `backtrace` feature in the generated `Xargo.toml`

This allows the normal std panic hook to print a backtrace if
`RUST_BACKTRACE=1` and `-Z miri-disable-isolation` are set

3 years agoEnable `backtrace` feature in the generated `Xargo.toml`
Aaron Hill [Tue, 20 Oct 2020 17:27:58 +0000 (13:27 -0400)]
Enable `backtrace` feature in the generated `Xargo.toml`

This allows the normal std panic hook to print a backtrace if
`RUST_BACKTRACE=1` and `-Z miri-disable-isolation` are set

3 years agoAuto merge of #1587 - lzutao:only-gha, r=RalfJung
bors [Tue, 20 Oct 2020 09:40:28 +0000 (09:40 +0000)]
Auto merge of #1587 - lzutao:only-gha, r=RalfJung

build: Gate only on GHA: remove travis and appveyor ci config

It's been over a week since #1571 merged.
The GHA evaluation is successful.

This PR removes CI config of travis and appveyor.
Now MIRI gates on github actions CI only.

Will need <https://github.com/rust-lang/homu/pull/109> to merge first,
otherwise bors will stuck.

Also, one may need to remove `continuous-integration/appveyor/pr` CI checks
in repo settings or appeveyor website.

3 years agobuild: Gate only on GHA: remove travis and appveyor ci config
Lzu Tao [Tue, 20 Oct 2020 05:26:30 +0000 (12:26 +0700)]
build: Gate only on GHA: remove travis and appveyor ci config

3 years agoAuto merge of #1586 - RalfJung:available-concurrency, r=RalfJung
bors [Sun, 18 Oct 2020 09:22:59 +0000 (09:22 +0000)]
Auto merge of #1586 - RalfJung:available-concurrency, r=RalfJung

test new available_concurrency function

Cc https://github.com/rust-lang/rust/pull/74480

3 years agotest new available_concurrency function
Ralf Jung [Sun, 18 Oct 2020 09:22:09 +0000 (11:22 +0200)]
test new available_concurrency function

3 years agoAuto merge of #1584 - Aaron1011:test/std-backtrace, r=RalfJung
bors [Sun, 18 Oct 2020 08:10:16 +0000 (08:10 +0000)]
Auto merge of #1584 - Aaron1011:test/std-backtrace, r=RalfJung

Test std backtrace type

Closes https://github.com/rust-lang/miri/issues/1578

3 years agoTest std::backtrace::Backtrace
Aaron Hill [Sat, 17 Oct 2020 19:36:05 +0000 (15:36 -0400)]
Test std::backtrace::Backtrace

Fixes #1578

3 years agoAuto merge of #1585 - RalfJung:rustup, r=RalfJung
bors [Sat, 17 Oct 2020 22:50:31 +0000 (22:50 +0000)]
Auto merge of #1585 - RalfJung:rustup, r=RalfJung

rustup; the bad compile times for the float test are fixed

3 years agorustup; the bad compile times for the float test are fixed
Ralf Jung [Sat, 17 Oct 2020 22:49:52 +0000 (00:49 +0200)]
rustup; the bad compile times for the float test are fixed

3 years agoAuto merge of #1583 - est31:target_refactor, r=RalfJung
bors [Thu, 15 Oct 2020 21:56:20 +0000 (21:56 +0000)]
Auto merge of #1583 - est31:target_refactor, r=RalfJung

Replace target.target with target

Fix fallout caused by rustc PR: https://github.com/rust-lang/rust/pull/77943

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

3 years agoReplace target.target with target
est31 [Wed, 14 Oct 2020 17:16:00 +0000 (19:16 +0200)]
Replace target.target with target

Rustc removed the target wrapper and exposed the target directly.

Result of running:

find . -type f -exec sed -i -e 's/target\.target\([)\.,;]\)/target\1/g' {} \;

Plus one manual edit of the rust-version file

3 years agoAuto merge of #1581 - RalfJung:readme, r=RalfJung
bors [Sun, 11 Oct 2020 22:56:39 +0000 (22:56 +0000)]
Auto merge of #1581 - RalfJung:readme, r=RalfJung

README: make our cross-interpretation feature stand out more

This is a great feature, let's hope more people notice it :)

3 years agoAuto merge of #1580 - Aaron1011:feature/backtrace-fn-ptr, r=RalfJung
bors [Sun, 11 Oct 2020 22:34:57 +0000 (22:34 +0000)]
Auto merge of #1580 - Aaron1011:feature/backtrace-fn-ptr, r=RalfJung

Add an `fn_ptr` field to `MiriFrame`

The `backtrace-rs` crate can use this to implement
`Frame::symbol_address`, which is used to skip frames
above the call to `Backtrace::capture` on the stack.

The function pointer will not be useable for comparison purposes if the
function is generic, as CTFE creates a new function pointer for each
cast of a (monomorphized) generic function. However, this already
affects code running under Miri, and isn't a problem for `backtrace-rs`
(which only casts a non-generic function).

I've added logic to allow `MiriFrame` to have either 4 or 5 fields - if
a 5th field is present, we write the function pointer to it.

3 years agoImprove wording
Ralf Jung [Sun, 11 Oct 2020 22:15:01 +0000 (00:15 +0200)]
Improve wording

Co-authored-by: Aaron Hill <aa1ronham@gmail.com>
3 years agoAuto merge of #1571 - lzutao:actions, r=RalfJung
bors [Sun, 11 Oct 2020 22:07:25 +0000 (22:07 +0000)]
Auto merge of #1571 - lzutao:actions, r=RalfJung

Adding a working github actions template

Complete adding github actions whose dummy template added in #1563 .

But it will need https://github.com/rust-lang/rust-central-station/pull/939 merged first
to be able to gate bors on Actions CI checks.

3 years agoAdd comment about deprecation
Aaron Hill [Sun, 11 Oct 2020 21:57:49 +0000 (17:57 -0400)]
Add comment about deprecation

3 years agoAuto merge of #1582 - Aaron1011:rustup-run-compiler, r=RalfJung
bors [Sun, 11 Oct 2020 21:45:09 +0000 (21:45 +0000)]
Auto merge of #1582 - Aaron1011:rustup-run-compiler, r=RalfJung

Rustup

This gets Miri building again after the `run_compiler` changes

3 years agoRustup
Aaron Hill [Sun, 11 Oct 2020 21:05:40 +0000 (17:05 -0400)]
Rustup

This gets Miri building again after the `run_compiler` changes

3 years agoApply suggestions from code review
Aaron Hill [Sun, 11 Oct 2020 15:05:14 +0000 (11:05 -0400)]
Apply suggestions from code review

Co-authored-by: Ralf Jung <post@ralfj.de>
3 years agoAdd a working github actions template
Lzu Tao [Sun, 4 Oct 2020 15:01:10 +0000 (22:01 +0700)]
Add a working github actions template

3 years agoREADME: make our cross-interpretation feature stand out more
Ralf Jung [Sun, 11 Oct 2020 08:48:34 +0000 (10:48 +0200)]
README: make our cross-interpretation feature stand out more

3 years agoAdd an `fn_ptr` field to `MiriFrame`
Aaron Hill [Sat, 10 Oct 2020 17:07:57 +0000 (13:07 -0400)]
Add an `fn_ptr` field to `MiriFrame`

The `backtrace-rs` crate can use this to implement
`Frame::symbol_address`, which is used to skip frames
above the call to `Backtrace::capture` on the stack.

The function pointer will not be useable for comparison purposes if the
function is generic, as CTFE creates a new function pointer for each
cast of a (monomorphized) generic function. However, this already
affects code running under Miri, and isn't a problem for `backtrace-rs`
(which only casts a non-generic function).

I've added logic to allow `MiriFrame` to have either 4 or 5 fields - if
a 5th field is present, we write the function pointer to it.

3 years agoAuto merge of #1579 - lygstate:patch-1, r=RalfJung
bors [Fri, 9 Oct 2020 07:23:21 +0000 (07:23 +0000)]
Auto merge of #1579 - lygstate:patch-1, r=RalfJung

Update README.md

 Note however that
[leak checking is currently disabled on Windows targets](https://github.com/rust-lang/miri/issues/1302).

Windows issue are fixed

3 years agoUpdate README.md
Yonggang Luo [Fri, 9 Oct 2020 05:16:03 +0000 (13:16 +0800)]
Update README.md

 Note however that
[leak checking is currently disabled on Windows targets](https://github.com/rust-lang/miri/issues/1302).

Windows issue are fixed

3 years agoAuto merge of #1577 - RalfJung:rlib, r=RalfJung
bors [Wed, 7 Oct 2020 17:44:57 +0000 (17:44 +0000)]
Auto merge of #1577 - RalfJung:rlib, r=RalfJung

fix for rlib/cdylib crates in dependency tree

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

Unfortunately, I found no nice way to test for this.

3 years agofix for rlib/cdylib crates in dependency tree
Ralf Jung [Wed, 7 Oct 2020 17:42:33 +0000 (19:42 +0200)]
fix for rlib/cdylib crates in dependency tree