]> git.lizzy.rs Git - rust.git/log
rust.git
3 years agoRemove `#![feature(const_generics)]` and `#![allow(incomplete_features)]`
hyd-dev [Sun, 17 Jan 2021 15:09:04 +0000 (23:09 +0800)]
Remove `#![feature(const_generics)]` and `#![allow(incomplete_features)]`

3 years agoAuto merge of #1678 - RalfJung:features, r=RalfJung
bors [Sat, 16 Jan 2021 20:57:00 +0000 (20:57 +0000)]
Auto merge of #1678 - RalfJung:features, r=RalfJung

remove some unnecessary feature gates

3 years agoremove some unnecessary feature gates
Ralf Jung [Sat, 16 Jan 2021 17:27:10 +0000 (18:27 +0100)]
remove some unnecessary feature gates

3 years agoAuto merge of #1676 - RalfJung:zulip, r=RalfJung
bors [Sat, 16 Jan 2021 09:30:19 +0000 (09:30 +0000)]
Auto merge of #1676 - RalfJung:zulip, r=RalfJung

undo cronjob deliberate failure

3 years agoundo cronjob deliberate failure
Ralf Jung [Sat, 16 Jan 2021 09:29:37 +0000 (10:29 +0100)]
undo cronjob deliberate failure

3 years agoAuto merge of #1673 - RalfJung:rustup, r=RalfJung
bors [Fri, 15 Jan 2021 15:42:50 +0000 (15:42 +0000)]
Auto merge of #1673 - RalfJung:rustup, r=RalfJung

rustup; make tests pass again

3 years agorustup; make tests pass again
Ralf Jung [Fri, 15 Jan 2021 15:41:14 +0000 (16:41 +0100)]
rustup; make tests pass again

3 years agoAuto merge of #1672 - RalfJung:zulip, r=RalfJung
bors [Fri, 15 Jan 2021 14:24:32 +0000 (14:24 +0000)]
Auto merge of #1672 - RalfJung:zulip, r=RalfJung

add Zulip site information

3 years agoadd Zulip site information
Ralf Jung [Fri, 15 Jan 2021 14:23:20 +0000 (15:23 +0100)]
add Zulip site information

3 years agoAuto merge of #1669 - RalfJung:rustup, r=RalfJung
bors [Mon, 11 Jan 2021 11:35:58 +0000 (11:35 +0000)]
Auto merge of #1669 - RalfJung:rustup, r=RalfJung

rustup

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

3 years agorustup
Ralf Jung [Mon, 11 Jan 2021 11:35:13 +0000 (12:35 +0100)]
rustup

3 years agoAuto merge of #1668 - RalfJung:zulip, r=RalfJung
bors [Mon, 11 Jan 2021 11:10:30 +0000 (11:10 +0000)]
Auto merge of #1668 - RalfJung:zulip, r=RalfJung

fix zulip-send path

3 years agofix zulip-send path
Ralf Jung [Mon, 11 Jan 2021 11:09:55 +0000 (12:09 +0100)]
fix zulip-send path

3 years agoAuto merge of #1667 - RalfJung:cron-fail-notification, r=RalfJung
bors [Sun, 10 Jan 2021 19:12:00 +0000 (19:12 +0000)]
Auto merge of #1667 - RalfJung:cron-fail-notification, r=RalfJung

send Zulip notification when cron job fails

Let's see if this works...

3 years agosend Zulip notification when cron job fails
Ralf Jung [Sun, 10 Jan 2021 18:12:11 +0000 (19:12 +0100)]
send Zulip notification when cron job fails

3 years agoAuto merge of #1663 - RalfJung:rustup, r=RalfJung
bors [Thu, 31 Dec 2020 12:16:58 +0000 (12:16 +0000)]
Auto merge of #1663 - RalfJung:rustup, r=RalfJung

test Weak into_raw/from_raw on dangling ptrs

3 years agotest Weak into_raw/from_raw on dangling ptrs
Ralf Jung [Thu, 31 Dec 2020 12:11:34 +0000 (13:11 +0100)]
test Weak into_raw/from_raw on dangling ptrs

3 years agoAuto merge of #1662 - RalfJung:rustup, r=RalfJung
bors [Wed, 30 Dec 2020 23:18:02 +0000 (23:18 +0000)]
Auto merge of #1662 - RalfJung:rustup, r=RalfJung

panicing now works with -Zmiri-track-raw-pointers

3 years agopanicing now works with -Zmiri-track-raw-pointers
Ralf Jung [Wed, 30 Dec 2020 23:17:08 +0000 (00:17 +0100)]
panicing now works with -Zmiri-track-raw-pointers

3 years agoAuto merge of #1659 - RalfJung:rustup, r=RalfJung
bors [Tue, 29 Dec 2020 18:29:21 +0000 (18:29 +0000)]
Auto merge of #1659 - RalfJung:rustup, r=RalfJung

rustup; add an interesting alias test case

3 years agorustup; add an interesting alias test case
Ralf Jung [Tue, 29 Dec 2020 18:27:23 +0000 (19:27 +0100)]
rustup; add an interesting alias test case

3 years agoAuto merge of #1658 - RalfJung:forget, r=RalfJung
bors [Tue, 22 Dec 2020 11:54:05 +0000 (11:54 +0000)]
Auto merge of #1658 - RalfJung:forget, r=RalfJung

remove intrinsic that is now implemented in the rustc side

Since https://github.com/rust-lang/rust/pull/80040, we can rely on the pass introduced in https://github.com/rust-lang/rust/pull/79049 to lower away `forget`.

3 years agoremove intrinsic that is now implemented in the rustc side
Ralf Jung [Tue, 22 Dec 2020 11:47:59 +0000 (12:47 +0100)]
remove intrinsic that is now implemented in the rustc side

3 years agoAuto merge of #1657 - RalfJung:zulip, r=RalfJung
bors [Mon, 21 Dec 2020 13:40:33 +0000 (13:40 +0000)]
Auto merge of #1657 - RalfJung:zulip, r=RalfJung

link to our shiny new Zulip stream

3 years agolink to our shiny new Zulip stream
Ralf Jung [Mon, 21 Dec 2020 13:39:18 +0000 (14:39 +0100)]
link to our shiny new Zulip stream

3 years agoAuto merge of #1656 - RalfJung:tests, r=RalfJung
bors [Mon, 21 Dec 2020 12:25:57 +0000 (12:25 +0000)]
Auto merge of #1656 - RalfJung:tests, r=RalfJung

test suite updates

3 years agotest test suite harness with raw-ptr tracking
Ralf Jung [Mon, 21 Dec 2020 10:34:27 +0000 (11:34 +0100)]
test test suite harness with raw-ptr tracking

3 years agoleak checker: also test AtomicPtr stored via 'swap'
Ralf Jung [Mon, 21 Dec 2020 10:33:46 +0000 (11:33 +0100)]
leak checker: also test AtomicPtr stored via 'swap'

3 years agorename test ref files for proper names
Ralf Jung [Mon, 21 Dec 2020 10:29:49 +0000 (11:29 +0100)]
rename test ref files for proper names

3 years agoAuto merge of #1655 - RalfJung:rustup, r=RalfJung
bors [Mon, 21 Dec 2020 09:55:26 +0000 (09:55 +0000)]
Auto merge of #1655 - RalfJung:rustup, r=RalfJung

rustup + cargo-miri 'cargo update'

3 years agorustup + cargo-miri 'cargo update'
Ralf Jung [Mon, 21 Dec 2020 09:53:55 +0000 (10:53 +0100)]
rustup + cargo-miri 'cargo update'

3 years agoAuto merge of #1652 - RalfJung:update, r=RalfJung
bors [Thu, 17 Dec 2020 11:54:28 +0000 (11:54 +0000)]
Auto merge of #1652 - RalfJung:update, r=RalfJung

rustup + cargo update

Also fixes cargo warnings about depending on yanked crates.

3 years agorustup + cargo update
Ralf Jung [Thu, 17 Dec 2020 11:53:10 +0000 (12:53 +0100)]
rustup + cargo update

3 years agoAuto merge of #1644 - JCTyblaidd:detect_race_with_alloc, r=RalfJung
bors [Sun, 13 Dec 2020 19:50:57 +0000 (19:50 +0000)]
Auto merge of #1644 - JCTyblaidd:detect_race_with_alloc, r=RalfJung

More tests, fix issue 1643 and detect races with allocation.

Fixes #1643 by disabling race detection for V-Table memory, adds race detection between r/w & memory allocation, and adds more tests.

~~There is one unusual result in dealloc_read_race_stack_drop.rs, where the stack variable is read by thread 0 & thread 2 and so reports a race with thread 0, any ideas for the cause of the read on thread 0?~~ Fixed, bug with reporting the index a read race occured in correctly.

3 years agoTidy new_allocation
JCTyblaidd [Sun, 13 Dec 2020 11:14:41 +0000 (11:14 +0000)]
Tidy new_allocation

3 years agoUpdate rust version
JCTyblaidd [Sun, 13 Dec 2020 11:08:19 +0000 (11:08 +0000)]
Update rust version

3 years agoRework to work with machine hook.
JCTyblaidd [Fri, 11 Dec 2020 19:32:25 +0000 (19:32 +0000)]
Rework to work with machine hook.

3 years agoUpdate src/data_race.rs
JCTyblaidd [Thu, 10 Dec 2020 16:56:09 +0000 (16:56 +0000)]
Update src/data_race.rs

Co-authored-by: Ralf Jung <post@ralfj.de>
3 years agoFix review changes
JCTyBlaidd [Wed, 9 Dec 2020 13:35:42 +0000 (13:35 +0000)]
Fix review changes

3 years agoChange to disable mir-opt in compile-flags
JCTyBlaidd [Tue, 8 Dec 2020 14:16:39 +0000 (14:16 +0000)]
Change to disable mir-opt in compile-flags

3 years agoDisable tests in windows
JCTyBlaidd [Mon, 7 Dec 2020 23:43:19 +0000 (23:43 +0000)]
Disable tests in windows

3 years agoDefeat the mir-opt=3 optimizer.
JCTyBlaidd [Mon, 7 Dec 2020 23:30:55 +0000 (23:30 +0000)]
Defeat the mir-opt=3 optimizer.

3 years agoUpdate note
JCTyBlaidd [Mon, 7 Dec 2020 23:21:58 +0000 (23:21 +0000)]
Update note

3 years agoFix bug with reporting wrong thread for races with reads & add thread ids to data...
JCTyBlaidd [Mon, 7 Dec 2020 23:18:57 +0000 (23:18 +0000)]
Fix bug with reporting wrong thread for races with reads & add thread ids to data-race tests

3 years agoAdd concurrent caller location test
JCTyBlaidd [Mon, 7 Dec 2020 21:13:11 +0000 (21:13 +0000)]
Add concurrent caller location test

3 years agoFix nits
JCTyblaidd [Mon, 7 Dec 2020 19:10:01 +0000 (19:10 +0000)]
Fix nits

Co-authored-by: bjorn3 <bjorn3@users.noreply.github.com>
3 years agoIncrease sleep times for the scheduler
JCTyBlaidd [Mon, 7 Dec 2020 18:58:31 +0000 (18:58 +0000)]
Increase sleep times for the scheduler

3 years agoRemove old FIXME
JCTyBlaidd [Mon, 7 Dec 2020 18:21:12 +0000 (18:21 +0000)]
Remove old FIXME

3 years agoMore tests, fix issue 1643 and detect races with allocation.
JCTyBlaidd [Mon, 7 Dec 2020 18:16:06 +0000 (18:16 +0000)]
More tests, fix issue 1643 and detect races with allocation.

3 years agoAuto merge of #1648 - RalfJung:windows-track-raw, r=RalfJung
bors [Fri, 11 Dec 2020 10:37:40 +0000 (10:37 +0000)]
Auto merge of #1648 - RalfJung:windows-track-raw, r=RalfJung

enable track-raw-ptr tests on Windows

With https://github.com/rust-lang/rust/pull/79893 landed, raw-pointer-tracking now works even for the Windows runtime. :)

3 years agorustup
Ralf Jung [Fri, 11 Dec 2020 10:36:17 +0000 (11:36 +0100)]
rustup

3 years agoenable track-raw-ptr tests on Windows
Ralf Jung [Wed, 9 Dec 2020 23:11:00 +0000 (00:11 +0100)]
enable track-raw-ptr tests on Windows

3 years agoAuto merge of #1646 - RalfJung:rustup, r=RalfJung
bors [Thu, 10 Dec 2020 18:54:21 +0000 (18:54 +0000)]
Auto merge of #1646 - RalfJung:rustup, r=RalfJung

rustup

3 years agorustup
Ralf Jung [Thu, 10 Dec 2020 18:53:45 +0000 (19:53 +0100)]
rustup

3 years agoAuto merge of #1645 - RalfJung:rustup, r=RalfJung
bors [Thu, 10 Dec 2020 08:05:35 +0000 (08:05 +0000)]
Auto merge of #1645 - RalfJung:rustup, r=RalfJung

Rustup; make use of AtomicPtr fixes

3 years agorustup; test AtomicPtr leak checker
Ralf Jung [Wed, 9 Dec 2020 23:09:52 +0000 (00:09 +0100)]
rustup; test AtomicPtr leak checker

3 years agoAuto merge of #1642 - jonahwilliams:patch-1, r=RalfJung
bors [Mon, 7 Dec 2020 08:21:49 +0000 (08:21 +0000)]
Auto merge of #1642 - jonahwilliams:patch-1, r=RalfJung

Fix README.md typo "extend" -> "extent"

Just something I noticed while reading.

3 years agoFix README.md typo "extend" -> "extent"
Jonah Williams [Mon, 7 Dec 2020 01:54:59 +0000 (17:54 -0800)]
Fix README.md typo "extend" -> "extent"

Just something I noticed while reading

3 years agoAuto merge of #1641 - JCTyblaidd:update_release_sequences, r=RalfJung
bors [Sun, 6 Dec 2020 19:12:16 +0000 (19:12 +0000)]
Auto merge of #1641 - JCTyblaidd:update_release_sequences, r=RalfJung

Weaken release sequences to match the C++20 memory model

See [Weaken Release Sequences](http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2018/p0982r1.html), since the exception for relaxed writes on the same thread as a release write not blocking release sequences was removed in the C++20 memory model compared to the C11 memory model the paper was based on. The implementation can be updated and simplified to match this.  [Rust is currently specified to use the C++20 memory model](https://doc.rust-lang.org/std/sync/atomic/index.html).

3 years agoFix caps
JCTyblaidd [Sun, 6 Dec 2020 17:59:49 +0000 (17:59 +0000)]
Fix caps

Co-authored-by: Ralf Jung <post@ralfj.de>
3 years agoFix typo
JCTyBlaidd [Sun, 6 Dec 2020 17:11:24 +0000 (17:11 +0000)]
Fix typo

3 years agoUpdate release sequence handling to C++20 semantics.
JCTyBlaidd [Sun, 6 Dec 2020 16:58:32 +0000 (16:58 +0000)]
Update release sequence handling to C++20 semantics.

3 years agoAuto merge of #1640 - RalfJung:readme, r=RalfJung
bors [Sat, 5 Dec 2020 11:16:41 +0000 (11:16 +0000)]
Auto merge of #1640 - RalfJung:readme, r=RalfJung

readme: mention data races

and mention cross-interpretation already in the intro

3 years agoreadme: mention data races, and mention cross-interpretation already in the intro
Ralf Jung [Sat, 5 Dec 2020 11:14:52 +0000 (12:14 +0100)]
readme: mention data races, and mention cross-interpretation already in the intro

3 years agoAuto merge of #1639 - m-ou-se:allocator, r=RalfJung
bors [Sat, 5 Dec 2020 08:35:56 +0000 (08:35 +0000)]
Auto merge of #1639 - m-ou-se:allocator, r=RalfJung

Update to new core::alloc::Allocator interface

This fixes the allocator test for the changes made to the allocator trait in `core` in https://github.com/rust-lang/rust/pull/79286

See https://github.com/rust-lang/rust/issues/79709

3 years agoUse new std::alloc::Allocator interface.
Mara Bos [Fri, 4 Dec 2020 22:52:13 +0000 (23:52 +0100)]
Use new std::alloc::Allocator interface.

This was changed in core.

3 years agoAuto merge of #1636 - RalfJung:rustup, r=oli-obk
bors [Mon, 30 Nov 2020 11:40:43 +0000 (11:40 +0000)]
Auto merge of #1636 - RalfJung:rustup, r=oli-obk

remove miri-rustc-tests

`@oli-obk` I am not sure if anyone used this program in the last few years. There are no instructions for how to use it. So I think keeping it working is just a waste of time. It now fails to build:
```
error[E0046]: not all trait items implemented, missing: `visit_foreign_item`
  --> src/bin/miri-rustc-tests.rs:36:17
   |
36 |                 impl<'tcx, 'hir> itemlikevisit::ItemLikeVisitor<'hir> for Visitor<'tcx> {
   |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `visit_foreign_item` in implementation
```
So I propose instead of me trying to figure out how to fix this, we just drop this ancient code.

3 years agoAuto merge of #1635 - RalfJung:readme, r=oli-obk
bors [Mon, 30 Nov 2020 11:15:38 +0000 (11:15 +0000)]
Auto merge of #1635 - RalfJung:readme, r=oli-obk

update README

Data races are detected now, but also the amount of non-determinism went way up so reword that point.

3 years agoremove miri-rustc-tests
Ralf Jung [Sun, 29 Nov 2020 20:00:50 +0000 (21:00 +0100)]
remove miri-rustc-tests

3 years agoupdate README
Ralf Jung [Sun, 29 Nov 2020 19:54:56 +0000 (20:54 +0100)]
update README

3 years agoAuto merge of #1617 - JCTyblaidd:data_race_detector, r=RalfJung
bors [Sun, 29 Nov 2020 18:44:28 +0000 (18:44 +0000)]
Auto merge of #1617 - JCTyblaidd:data_race_detector, r=RalfJung

Add simple data-race detector

Partially fixes data-race detection, see #1372, based on Dynamic Race Detection for C++11

- This does not explore weak memory behaviour, only exploring one sequentially consistent ordering.
- Data-race detection is only enabled after the first thread is created, so should have minimal overhead for non-concurrent execution.
- ~~Does not attempt to re-use thread id's so creating and joining threads lots of time in an execution will result in the vector clocks growing in size and slowing down program execution~~ It does now

3 years agofix some typos
Ralf Jung [Sun, 29 Nov 2020 18:43:44 +0000 (19:43 +0100)]
fix some typos

3 years agoFix typos - looked into the papers handling of timestamps, after looking into it...
JCTyBlaidd [Sat, 28 Nov 2020 17:17:07 +0000 (17:17 +0000)]
Fix typos - looked into the papers handling of timestamps, after looking into it again, it seems the paper only increments the timestamp after release operations, so changed to approximation of that implementation.

3 years agoApply review changes, incrementing the clocks twice is an unnecessary hold-over from...
JCTyBlaidd [Fri, 27 Nov 2020 19:26:06 +0000 (19:26 +0000)]
Apply review changes, incrementing the clocks twice is an unnecessary hold-over from earlier versions so fixed.

3 years agoFix review changes
JCTyBlaidd [Sun, 22 Nov 2020 17:28:12 +0000 (17:28 +0000)]
Fix review changes

3 years agoAuto merge of #1633 - RalfJung:rustup, r=RalfJung
bors [Sun, 22 Nov 2020 17:10:05 +0000 (17:10 +0000)]
Auto merge of #1633 - RalfJung:rustup, r=RalfJung

rustup; test sorting for provenance-correctness

3 years agorustup; test sorting for provenance-correctness
Ralf Jung [Sun, 22 Nov 2020 17:08:57 +0000 (18:08 +0100)]
rustup; test sorting for provenance-correctness

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 agoRun rustfmt on vector_clock.rs and data_race.rs
JCTyBlaidd [Sun, 15 Nov 2020 20:19:34 +0000 (20:19 +0000)]
Run rustfmt on vector_clock.rs and data_race.rs

3 years agoAdd comment regarding seq-cst ordering & add test for disabling the data-race detector.
JCTyBlaidd [Sun, 15 Nov 2020 20:12:58 +0000 (20:12 +0000)]
Add comment regarding seq-cst ordering & add test for disabling the data-race detector.

3 years agoConvert extra benchmark program into cfg option.
JCTyBlaidd [Sun, 15 Nov 2020 19:50:38 +0000 (19:50 +0000)]
Convert extra benchmark program into cfg option.

3 years agoTidy up comments and function layout, should fix most of the review notes.
JCTyBlaidd [Sun, 15 Nov 2020 18:30:26 +0000 (18:30 +0000)]
Tidy up comments and function layout, should fix most of the review notes.

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>