Skip to content

[beta] Attempt to fix the component manifest problem for rls-preview #44352

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 338 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
338 commits
Select commit Hold shift + click to select a range
3971a3d
Merge remote-tracking branch 'origin/master' into gen
alexcrichton Aug 11, 2017
84af3d8
Fix an error in diagnostic codes
alexcrichton Aug 11, 2017
fa18aa3
Strip landing pads in the state transformation
Zoxc Aug 12, 2017
d020ff0
Merge branch 'master' of https://github.com/rust-lang/rust into gen
Zoxc Aug 12, 2017
1787d4e
Fix errors
Zoxc Aug 12, 2017
6eab1ca
Fix UI test
alexcrichton Aug 12, 2017
eff2884
Make generator interior types deterministic
Zoxc Aug 14, 2017
b045c20
Use a DepNode for the generator signature
Zoxc Aug 14, 2017
1413253
Merge remote-tracking branch 'origin/master' into gen
alexcrichton Aug 15, 2017
22ebcac
Choose another error code
alexcrichton Aug 15, 2017
b6b9690
Fix merge conflicts with `gen` branch
alexcrichton Aug 15, 2017
17197c6
Remove fixme
Zoxc Aug 15, 2017
1766992
Add clippy as a submodule
oli-obk Aug 15, 2017
49fca85
Document the process of updating external dependencies
oli-obk Aug 15, 2017
f467776
Fetch the pull request before checkout
oli-obk Aug 15, 2017
b9e4bdb
Add a Cargo.lock to clippy
oli-obk Aug 15, 2017
93a9183
Update workflow to git oddities
oli-obk Aug 15, 2017
c3b27d5
make ignore-git true by default when channel is dev
JeremySorensen Aug 16, 2017
1210ebf
Merge remote-tracking branch 'origin/master' into gen
alexcrichton Aug 16, 2017
0697e4b
Fix merge conflict
alexcrichton Aug 16, 2017
5f4a99f
Merge remote-tracking branch 'origin/master' into gen
alexcrichton Aug 16, 2017
63477fd
Fix merge conflicts
alexcrichton Aug 16, 2017
e83c808
Don't highlight # which does not start an attribute in rustdoc
mystor Aug 17, 2017
5e472c2
fix typo in git-ignore comment
JeremySorensen Aug 17, 2017
bdb7901
initialize ignore-git to false
JeremySorensen Aug 17, 2017
4b5f330
Merge remote-tracking branch 'origin/master' into gen
alexcrichton Aug 17, 2017
a47038f
Fix UI tests
alexcrichton Aug 17, 2017
9620d26
Fix more UI tests
alexcrichton Aug 18, 2017
e70cc27
Fix a diagnostic
alexcrichton Aug 18, 2017
bf3ebcc
Make gathering generator interior types O(n log n)
Zoxc Aug 20, 2017
1dc3a2b
Add align_offset intrinsic
oli-obk Aug 16, 2017
b31998e
Merge remote-tracking branch 'origin/master' into gen
alexcrichton Aug 21, 2017
35b8dba
Merge remote-tracking branch 'origin/master' into gen
alexcrichton Aug 21, 2017
5dc9d71
Merge remote-tracking branch 'origin/master' into gen
alexcrichton Aug 21, 2017
04c66c3
Merge remote-tracking branch 'origin/master' into gen
alexcrichton Aug 22, 2017
c74ff32
More merge conflicts
alexcrichton Aug 22, 2017
be96ad2
Update intrinsics.rs
oli-obk Aug 22, 2017
0314e10
Split print function
kornelski Aug 20, 2017
2920658
--print=native-static-libs
kornelski Aug 22, 2017
601e3da
Add reset_err_count() to errors::Handler
topecongiro Aug 10, 2017
20f1e68
Require adding clippy's path to the `x.py` invocation
oli-obk Aug 24, 2017
0727ade
Avoid looking at `closure_kinds` for generators
alexcrichton Aug 24, 2017
b44e51c
Touch up a comment on `LocalDecl::internal`
alexcrichton Aug 24, 2017
8cd4cac
include Cargo.{toml,lock} in rust-src tarball
RalfJung Aug 24, 2017
c872f47
Merge remote-tracking branch 'origin/master' into gen
alexcrichton Aug 25, 2017
b28aeeb
Fix indentation
alexcrichton Aug 25, 2017
303a264
Reorder slightly in `visit_basic_block_data`
alexcrichton Aug 25, 2017
8c97ffa
Fix merge conflict
alexcrichton Aug 25, 2017
74b93f3
Add a `self_arg` convenience
alexcrichton Aug 25, 2017
ed5bc60
Remove unneeded FIXME for now
alexcrichton Aug 25, 2017
1917ffe
Add some suggested comments around drops
alexcrichton Aug 25, 2017
b4c5471
Comment about generators and drops
alexcrichton Aug 25, 2017
c711531
Add some comments and fix a typo
Zoxc Aug 24, 2017
5366135
Clean up YieldFinder
Zoxc Aug 25, 2017
ce322ee
rustc: Fix proc_macro expansions on trait methods
alexcrichton Aug 25, 2017
bd24325
Do not include the src/Cargo.toml
RalfJung Aug 26, 2017
0c3c43c
Remove Splice struct return value from String::splice
mattico Aug 22, 2017
f1b91f4
Clarify that VecDeque::swap can panic
daboross Aug 27, 2017
7534f73
clear out projection subobligations after they are processed
arielb1 Aug 20, 2017
6fc35de
Fail ./x.py on invalid command
vorner Aug 27, 2017
7c5780b
Update rls
Zoxc Aug 28, 2017
d29af37
Merge branch 'master' of https://github.com/rust-lang/rust into gen
Zoxc Aug 28, 2017
8a9e32b
Update lock file
alexcrichton Aug 28, 2017
a9b0a7b
rustbuild: Rewrite the configure script in Python
alexcrichton Aug 26, 2017
45d31ac
bootstrap: remove unneeded extern crate
ishitatsuyuki Aug 28, 2017
9eff522
Update the rls submodule again
alexcrichton Aug 28, 2017
a0c3bd2
Auto merge of #44107 - alexcrichton:no-shell-configure, r=Mark-Simula…
bors Aug 28, 2017
b8c05fe
rustc: use rvalue scope semantics for constant initializers.
eddyb Jul 21, 2017
9b61771
rustc_mir: conservatively deny non-noop drops in constant contexts.
eddyb Jul 22, 2017
c76a024
rustc: treat impl associated consts like const items for constness.
eddyb Aug 26, 2017
876278f
Ignore a threaded test on emscripten
alexcrichton Aug 28, 2017
8bb2946
feature error span on attr. for fn_must_use, SIMD/align, macro reëxport
zackmdavis Aug 27, 2017
8be132e
Initial diagnostic API for proc-macros.
SergioBenitez Aug 28, 2017
5caca6f
Auto merge of #44114 - daboross:patch-1, r=dtolnay
bors Aug 28, 2017
2bffa31
compiletest: Change Config comments to doc comments
Aug 28, 2017
0b72497
Suggest `Ok(())` when encountering `Ok()`
oli-obk Aug 23, 2017
10bd39e
Rewrite `std::net::ToSocketAddrs` doc examples.
frewsxcv Aug 27, 2017
a996d5e
Tweak rls submodule again
alexcrichton Aug 28, 2017
2f19383
Update test issue-41783.rs for new attribute highlighting behaviour
mystor Aug 28, 2017
e5b123c
Update the libc submodule
alexcrichton Jul 17, 2017
b6f554b
std: Mark allocation functions as nounwind
alexcrichton Aug 22, 2017
fb30dd7
getting rid of all changes due to this PR thus far, starting from a c…
JeremySorensen Aug 28, 2017
9a59d69
Auto merge of #43076 - Zoxc:gen, r=arielb1
bors Aug 28, 2017
f50bf86
Fix invalid linker position
GuillaumeGomez Aug 28, 2017
bef07b8
Auto merge of #43999 - arielb1:immediate-project, r=nikomatsakis
bors Aug 28, 2017
d2d5069
Auto merge of #44049 - alexcrichton:nounwind-allocators, r=BurntSushi
bors Aug 29, 2017
d66f0c2
Rename the rls component to rls-preview on beta/stable
nrc Aug 29, 2017
7007a44
rustbuild: Fix uplifting stage1 on cross builds
alexcrichton Aug 29, 2017
ecd127d
rustbuild: Fix dependencies of build-manifest
alexcrichton Aug 29, 2017
5009a22
use an optional bool to keep track of ignore-git setting, if not spec…
JeremySorensen Aug 29, 2017
6f82dea
Auto merge of #44059 - oli-obk:ok_suggestion, r=nikomatsakis
bors Aug 29, 2017
faf477a
Auto merge of #44111 - zackmdavis:feature_attr_error_span, r=nikomats…
bors Aug 29, 2017
fceab9f
make probe priority logic clearer
arielb1 Aug 14, 2017
75d6820
Track closure signatures & kinds in freshened types
arielb1 Aug 17, 2017
9be155d
remove the hacky selection impl in `method::probe`
arielb1 Aug 15, 2017
7d9e26f
Fix alloc_jemalloc debug feature
RalfJung Aug 4, 2017
16fc74c
give up on trying to fix the assertion failure
RalfJung Aug 29, 2017
68aab69
add ignore-git=true option to RUST_CONFIGURE_ARGS
JeremySorensen Aug 29, 2017
27c4ff6
rustc: Remove `specailization_cache` in favor of a query
alexcrichton Aug 29, 2017
d24ee23
change option for RUST_CONFIGURE_ARGS to ignore-git=false
JeremySorensen Aug 29, 2017
6c11b47
remove the data from ClosureCandidate
arielb1 Aug 15, 2017
de0e695
Check the substituted return type in return type suggestions.
arielb1 Aug 16, 2017
15f6540
resolve type vars with obligations in more places
arielb1 Aug 21, 2017
4312ed7
Use a byte literal ASCII 0 instead of its decimal value
dtolnay Aug 29, 2017
1d70b66
rustbuild: Don't require cross-compiled error index
alexcrichton Aug 29, 2017
b9b6549
API docs: macros. Part of #29329 Standard Library Documentation Chec…
AndyGauge Aug 29, 2017
630e02f
Auto merge of #43648 - RalfJung:jemalloc-debug, r=alexcrichton
bors Aug 29, 2017
84c5441
fix test failures in documentation change
AndyGauge Aug 29, 2017
11e75fd
Rollup merge of #43705 - panicbit:option_ref_mut_cloned, r=aturon
Aug 29, 2017
64a21f8
Rollup merge of #43778 - topecongiro:handler-reset-err-count, r=arielb1
Aug 29, 2017
b1fff23
Rollup merge of #43918 - mystor:rustdoc-pound, r=QuietMisdreavus
Aug 29, 2017
ba304b9
Rollup merge of #44076 - RalfJung:src, r=alexcrichton
Aug 29, 2017
30907e1
Rollup merge of #44117 - frewsxcv:frewsxcv-to-socket-addrs-examples, …
Aug 29, 2017
ec83eda
Rollup merge of #44121 - ishitatsuyuki:bootstrap-deps-purge, r=Mark-S…
Aug 29, 2017
29f360b
Rollup merge of #44126 - laumann:config-doc-comments, r=nikomatsakis
Aug 29, 2017
d59aa7d
Rollup merge of #44134 - vorner:x-py-unknown-cmd, r=nikomatsakis
Aug 29, 2017
588f833
Rollup merge of #44135 - GuillaumeGomez:fix-css-links, r=QuietMisdreavus
Aug 29, 2017
294ce22
Rollup merge of #44141 - nrc:rls-preview-beta, r=alexcrichton
Aug 29, 2017
a88757e
Rollup merge of #44144 - alexcrichton:faster-hash-and-sign, r=Mark-Si…
Aug 29, 2017
be0ac01
Rollup merge of #44158 - dtolnay:zero48, r=sfackler
Aug 29, 2017
c11f689
Auto merge of #44169 - arielb1:rollup, r=arielb1
bors Aug 29, 2017
32d35e6
rustc: Make the `trait_map` of TyCtxt private
alexcrichton Aug 29, 2017
3da868d
Make fields of `Span` private
petrochenkov Jul 31, 2017
71dfe64
Normalize order of `lo` and `hi` in `Span::new`
petrochenkov Aug 29, 2017
a0c3264
Make fields of `Span` public again
petrochenkov Aug 29, 2017
80d513a
broken links resolved
AndyGauge Aug 29, 2017
09ea6b7
Auto merge of #43938 - arielb1:closure-key, r=nikomatsakis
bors Aug 30, 2017
c2f9cc4
Auto merge of #44143 - alexcrichton:faster-bootstrap, r=Mark-Simulacrum
bors Aug 30, 2017
6f7594d
Fix link in unstable book entry for Generators
mattico Aug 30, 2017
873a05e
allow value of key/value pair argument to set option be boolean
JeremySorensen Aug 30, 2017
942c8dc
rustc: Make the `export_map` of TyCtxt private
alexcrichton Aug 29, 2017
4f591a4
fix option for RUST_CONFIGURE_ARGS to be rust.ignore-git=false
JeremySorensen Aug 30, 2017
b58e31a
Auto merge of #43880 - arielb1:noninvasive-probe, r=nikomatsakis
bors Aug 30, 2017
274543b
Add warnings when rustdoc html rendering differs
GuillaumeGomez May 14, 2017
e1367ef
Update unstable-crate test
GuillaumeGomez Jun 14, 2017
33d99e5
Set python binary name to python 2.7
GuillaumeGomez Jul 14, 2017
f2774b7
Print warning whatever the rendering mode
GuillaumeGomez Jul 31, 2017
bba7fd9
Temporary fix for a test (will require another update when this is fu…
GuillaumeGomez Aug 27, 2017
c66e7fa
Auto merge of #43903 - oli-obk:alignto, r=aturon
bors Aug 30, 2017
9b26f3a
Remove some false positive issues
GuillaumeGomez Aug 27, 2017
ca9cf35
Auto merge of #43968 - petrochenkov:span2, r=michaelwoerister
bors Aug 30, 2017
51a54b6
Auto merge of #43895 - JeremySorensen:master, r=alexcrichton
bors Aug 30, 2017
581dc93
Rollup merge of #44044 - mattico:string-splice-return, r=dtolnay
alexcrichton Aug 30, 2017
63cc2dd
Rollup merge of #44089 - alexcrichton:trait-proc-macro, r=nrc
alexcrichton Aug 30, 2017
bc6981b
Rollup merge of #44116 - alexcrichton:update-libc, r=Mark-Simulacrum
alexcrichton Aug 30, 2017
fd4f362
Rollup merge of #44125 - SergioBenitez:master, r=nrc
alexcrichton Aug 30, 2017
76e3221
Add license exceptions
GuillaumeGomez Aug 30, 2017
7eeac1b
Auto merge of #43932 - eddyb:const-scoping, r=nikomatsakis
bors Aug 30, 2017
8962393
Rollup merge of #44157 - alexcrichton:no-specializes-cache, r=eddyb
alexcrichton Aug 30, 2017
c0812c8
Rollup merge of #44160 - AndyGauge:api-docs-macros, r=steveklabnik
alexcrichton Aug 30, 2017
16bbff0
Rollup merge of #44172 - mattico:patch-2, r=frewsxcv
alexcrichton Aug 30, 2017
5c279a4
Merge branch 'hide-trait-map' into rollup
alexcrichton Aug 30, 2017
bde0071
Fix invalid display of enum sub-fields docs
GuillaumeGomez Aug 30, 2017
1615d35
expand on using rustup custom toolchains in CONTRIBUTING.md
QuietMisdreavus Aug 30, 2017
058202e
rustc: Remove the `used_unsafe` field on TyCtxt
alexcrichton Aug 30, 2017
0c2a9d6
bootstrap: add openssl configuration mapping for i686-unknown-netbsd
jakllsch Aug 30, 2017
41d3e83
rustc: Fix reachability with cross-crate generators
alexcrichton Aug 31, 2017
b9fea42
Update libc to fix sparc compiles
alexcrichton Aug 31, 2017
890c87b
Auto merge of #44186 - alexcrichton:rollup, r=alexcrichton
bors Aug 31, 2017
35f8a20
rustbuild: update the rust-src filter for compiler-rt
cuviper Aug 31, 2017
396fc11
Fix typo in doc `ToSocketAddrs` example.
frewsxcv Aug 31, 2017
92867d2
Update rls
nrc Aug 30, 2017
5eb478a
Set CFG_VERSION env var for tool builds
nrc Aug 31, 2017
da30284
add `fn` to syntax of rustc::ty::maps::define_maps
durka Aug 31, 2017
b501d00
downgrade libgit2
GuillaumeGomez Aug 31, 2017
97b01ab
Auto merge of #41991 - GuillaumeGomez:rustdoc-html-diff, r=nrc
bors Aug 31, 2017
2972687
Update bootstrap compiler
alexcrichton Aug 25, 2017
9b9de27
Bump to 1.22.0
alexcrichton Aug 28, 2017
7a2a8d7
Update Cargo to 0.23.0 and our lockfile
alexcrichton Aug 28, 2017
0a716fd
Expand docs of multi-address behavior of some UDP/TCP APIs.
frewsxcv Aug 31, 2017
ba643fa
add a lowercase suggestion to unknown_lints
llogiq Aug 26, 2017
9988e79
Implement From<&str> for Symbol.
eddyb Aug 31, 2017
945ba85
Fix typo in 1.20.0 release notes
Phlosioneer Aug 31, 2017
f575185
Fix release note on associated constants
Aug 31, 2017
a5f50a9
Only emit warnings if the user is using Pulldown
nrc Aug 31, 2017
69dbe66
Auto merge of #43425 - matklad:lambda-restrictions, r=eddyb
bors Aug 31, 2017
fd5a945
Rollup merge of #44192 - GuillaumeGomez:sub-fields-style, r=QuietMisd…
Mark-Simulacrum Sep 1, 2017
5f00b10
Rollup merge of #44199 - jakllsch:jakllsch-abcc6c4a-0caf-4d30-b336-39…
Mark-Simulacrum Sep 1, 2017
f3b7197
Rollup merge of #44202 - alexcrichton:xcrate-generators, r=arielb1
Mark-Simulacrum Sep 1, 2017
b66823f
Rollup merge of #44203 - cuviper:compiler-rt-test, r=Mark-Simulacrum
Mark-Simulacrum Sep 1, 2017
471f989
Rollup merge of #44205 - frewsxcv:frewsxcv-addr-doc-fix, r=QuietMisdr…
Mark-Simulacrum Sep 1, 2017
4b2d568
Rollup merge of #44207 - durka:define-maps-fn, r=eddyb
Mark-Simulacrum Sep 1, 2017
3cd4ea3
Rollup merge of #44209 - frewsxcv:frewsxcv-addr-other-scenarios, r=al…
Mark-Simulacrum Sep 1, 2017
9c4bdd3
Rollup merge of #44223 - eddyb:symbol-from-str, r=jseyfried
Mark-Simulacrum Sep 1, 2017
88ee66d
Rollup merge of #44230 - Phlosioneer:patch-1, r=sfackler
Mark-Simulacrum Sep 1, 2017
81fc0e1
Rollup merge of #44231 - lukaramu:patch-1, r=alexcrichton
Mark-Simulacrum Sep 1, 2017
9ab20a3
rustdoc: collect rendering warnings and print them in one place
nrc Sep 1, 2017
9e5a7e9
Bring back stage0 allocator logic on MSVC
alexcrichton Aug 31, 2017
1a8aac3
Improve the appearance of markdown warnings
nrc Sep 1, 2017
abc0530
Do a better job of eliding whitespace-only differences from warnings
nrc Sep 1, 2017
fbb1612
Windows line endings
nrc Sep 1, 2017
45d31e7
Auto merge of #44233 - Mark-Simulacrum:rollup, r=Mark-Simulacrum
bors Sep 1, 2017
1d6d09f
Fix tests
nrc Sep 1, 2017
28ddd7a
rustc: use hir::ItemLocalId instead of ast::NodeId in CFG.
eddyb Aug 29, 2017
ea6aca7
rustc: take TyCtxt and RegionMaps in CodeMap::span.
eddyb Aug 29, 2017
e4996ec
rustc: use hir::ItemLocalId instead of ast::NodeId in CodeExtent.
eddyb Aug 29, 2017
a59a6d8
Auto merge of #44171 - eddyb:scope, r=nikomatsakis
bors Sep 1, 2017
ed532c0
Auto merge of #44238 - nrc:pulldown-warn, r=@QuietMisdreavus
bors Sep 1, 2017
271c63c
Update git2-rs to fix cross compiles
alexcrichton Sep 1, 2017
f861b6e
Auto merge of #44154 - alexcrichton:bump-bootstrap, r=Mark-Simulacrum
bors Sep 1, 2017
f866152
Implement RFC 1925
mattico Aug 26, 2017
eb143c3
Fix arm visitor
mattico Sep 1, 2017
8bdfd8a
rustc: rename CodeExtent to Scope and RegionMaps to ScopeTree.
eddyb Aug 31, 2017
22ca03b
Fix unstable book example
mattico Sep 1, 2017
7befbbc
Update html-diff-rs version
GuillaumeGomez Sep 1, 2017
dc563ef
rustc_mir: actually "promote" constants' MIR to 'static by removing S…
eddyb Sep 1, 2017
02ec0ae
rustc_mir: always emit StorageLive even without a matching StorageDead.
eddyb Sep 1, 2017
a9bb599
powerpc64: improve extern struct ABI
cuviper Aug 23, 2017
afcc58a
Exclude x86_64-pc-windows-gnu from the float_one test
cuviper Aug 29, 2017
f7c9704
Exclude all windows-gnu from the float_one test
cuviper Aug 30, 2017
40b1473
x86: return single-float aggregates in a float register
cuviper Sep 1, 2017
1b758fb
Update cargo.
Mark-Simulacrum Sep 2, 2017
549dd10
rustc: Flag {i,u}128 as unsafe for FFI
alexcrichton Sep 2, 2017
d516434
stabilize mem::discriminant (closes #24263)
durka Sep 2, 2017
efceda2
Auto merge of #44104 - llogiq:lowercase-lints, r=nikomatsakis
bors Sep 2, 2017
cc1fc88
Auto merge of #44256 - GuillaumeGomez:update-html-diff-rs, r=Mark-Sim…
bors Sep 2, 2017
2354089
Minor compilation fix
kornelski Sep 2, 2017
8d83c15
Auto merge of #44259 - Mark-Simulacrum:update-cargo, r=alexcrichton
bors Sep 2, 2017
4d06185
Remove invalid doctest from bootstrap.py.
kennytm Sep 2, 2017
94a9a30
add test for not optimized `pow` with constant power
Dushistov Sep 2, 2017
204c0a4
Auto merge of #43886 - oli-obk:clippy, r=nrc
bors Sep 2, 2017
744dd6c
Auto merge of #44066 - cuviper:powerpc64-extern-abi, r=alexcrichton
bors Sep 2, 2017
6f66730
Auto merge of #44108 - mattico:match-pipe, r=petrochenkov
bors Sep 2, 2017
5e9431a
Auto merge of #44176 - nrc:update-rls, r=alexcrichton
bors Sep 3, 2017
fc54bf9
Auto merge of #44195 - alexcrichton:remove-used-unsafe, r=nikomatsakis
bors Sep 3, 2017
23ade23
Auto merge of #44252 - eddyb:what-is-dead-may-never-die, r=nikomatsakis
bors Sep 3, 2017
243aa12
refactor and centralize `on_unimplemented` parsing
arielb1 Aug 29, 2017
cf07ebd
move the on_unimplemented logic to its own file
arielb1 Aug 30, 2017
6866aea
implement improved on_unimplemented directives
arielb1 Aug 30, 2017
02b3ae6
enable desugaring-sensitive error messages and use them in Try
arielb1 Aug 30, 2017
6dec953
address review comments
arielb1 Aug 31, 2017
efa09ea
on_unimplemented: add method-name checks and use them in Try
arielb1 Aug 31, 2017
291b4ed
add error message for the other case too
arielb1 Aug 31, 2017
2f2b8b3
Auto merge of #44253 - eddyb:nice-scope, r=nikomatsakis
bors Sep 3, 2017
c911925
rustc_mir: implement visit_local instead/along visit_lvalue where pos…
eddyb Sep 3, 2017
c8642da
Auto merge of #44191 - arielb1:on-unimplemented-label, r=nikomatsakis
bors Sep 3, 2017
2f42cd8
rustc_mir: use Local in ProjectionElem::Index.
eddyb Sep 3, 2017
981ce7d
Auto merge of #44261 - alexcrichton:u128-ffi-unsafe, r=eddyb
bors Sep 3, 2017
0006d3e
Auto merge of #44263 - durka:stabilize-discriminant, r=dtolnay
bors Sep 3, 2017
9e644e2
Resync clippy to v0.0.156
Manishearth Sep 3, 2017
a3beb8f
Auto merge of #44272 - Dushistov:master, r=alexcrichton
bors Sep 4, 2017
e22a3cf
Auto merge of #44268 - kennytm:fix-python-bootstrap-test, r=Mark-Simu…
bors Sep 4, 2017
e74f96e
rustc_mir: use Local instead of Lvalue in Storage{Live,Dead}.
eddyb Sep 4, 2017
a36d93d
Auto merge of #44300 - Manishearth:clippyup, r=oli-obk
bors Sep 4, 2017
c4d5a1e
Produce expansion info for more builtin macros
oli-obk Sep 1, 2017
088216f
Auto merge of #44194 - QuietMisdreavus:hey-how-do-i-use-this-new-fang…
bors Sep 4, 2017
22d6598
Auto merge of #43067 - pornel:libdeps, r=nrc
bors Sep 4, 2017
2f681bf
Auto merge of #44248 - oli-obk:spans, r=jseyfried
bors Sep 5, 2017
2f1ef9e
Auto merge of #44308 - eddyb:local-index, r=arielb1
bors Sep 5, 2017
1ffc3dd
Attempt to fix the component manifest problem for rls-preview
nrc Sep 5, 2017
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,6 @@
[submodule "src/libcompiler_builtins"]
path = src/libcompiler_builtins
url = https://github.com/rust-lang-nursery/compiler-builtins
[submodule "src/tools/clippy"]
path = src/tools/clippy
url = https://github.com/rust-lang-nursery/rust-clippy.git
55 changes: 54 additions & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,34 @@ Some common invocations of `x.py` are:
guidelines as of yet, but basic rules like 4 spaces for indentation and no
more than 99 characters in a single line should be kept in mind when writing
code.
- `rustup toolchain link <name> build/<host-triple>/<stage>` - Use the custom compiler build via [rustup](https://github.com/rust-lang-nursery/rustup.rs#working-with-custom-toolchains-and-local-builds).

### Using your local build

If you use Rustup to manage your rust install, it has a feature called ["custom
toolchains"][toolchain-link] that you can use to access your newly-built compiler
without having to install it to your system or user PATH. If you've run `python
x.py build`, then you can add your custom rustc to a new toolchain like this:

[toolchain-link]: https://github.com/rust-lang-nursery/rustup.rs#working-with-custom-toolchains-and-local-builds

```
rustup toolchain link <name> build/<host-triple>/stage2
```

Where `<host-triple>` is the build triple for the host (the triple of your
computer, by default), and `<name>` is the name for your custom toolchain. (If you
added `--stage 1` to your build command, the compiler will be in the `stage1`
folder instead.) You'll only need to do this once - it will automatically point
to the latest build you've done.

Once this is set up, you can use your custom toolchain just like any other. For
example, if you've named your toolchain `local`, running `cargo +local build` will
compile a project with your custom rustc, setting `rustup override set local` will
override the toolchain for your current directory, and `cargo +local doc` will use
your custom rustc and rustdoc to generate docs. (If you do this with a `--stage 1`
build, you'll need to build rustdoc specially, since it's not normally built in
stage 1. `python x.py build --stage 1 src/libstd src/tools/rustdoc` will build
rustdoc and libstd, which will allow rustdoc to be run with that toolchain.)

## Pull Requests

Expand Down Expand Up @@ -298,6 +325,32 @@ Speaking of tests, Rust has a comprehensive test suite. More information about
it can be found
[here](https://github.com/rust-lang/rust-wiki-backup/blob/master/Note-testsuite.md).

### External Dependencies

Currently building Rust will also build the following external projects:

* [clippy](https://github.com/rust-lang-nursery/rust-clippy)

If your changes break one of these projects, you need to fix them by opening
a pull request against the broken project. When you have opened a pull request,
you can point the submodule at your pull request by calling

```
git fetch origin pull/$id_of_your_pr/head:my_pr
git checkout my_pr
```

within the submodule's directory. Don't forget to also add your changes with

```
git add path/to/submodule
```

outside the submodule.

It can also be more convenient during development to set `submodules = false`
in the `config.toml` to prevent `x.py` from resetting to the original branch.

## Writing Documentation

Documentation improvements are very welcome. The source of `doc.rust-lang.org`
Expand Down
4 changes: 2 additions & 2 deletions RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Version 1.20.0 (2017-08-31)

Language
--------
- [Associated constants in traits is now stabilised.][42809]
- [Associated constants are now stabilised.][42809]
- [A lot of macro bugs are now fixed.][42913]

Compiler
Expand Down Expand Up @@ -77,7 +77,7 @@ Stabilized APIs
- [`slice::sort_unstable_by_key`]
- [`slice::sort_unstable_by`]
- [`slice::sort_unstable`]
- [`ste::from_boxed_utf8_unchecked`]
- [`str::from_boxed_utf8_unchecked`]
- [`str::as_bytes_mut`]
- [`str::as_bytes_mut`]
- [`str::from_utf8_mut`]
Expand Down
36 changes: 35 additions & 1 deletion config.toml.example
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,10 @@
# controlled by rustbuild's -j parameter.
#link-jobs = 0

# When invoking `llvm-config` this configures whether the `--shared` argument is
# passed to prefer linking to shared libraries.
#link-shared = false

# =============================================================================
# General build configuration options
# =============================================================================
Expand Down Expand Up @@ -166,6 +170,15 @@
# to +10 on Unix platforms, and by using a "low priority" job object on Windows.
#low-priority = false

# Arguments passed to the `./configure` script, used during distcheck. You
# probably won't fill this in but rather it's filled in by the `./configure`
# script.
#configure-args = []

# Indicates that a local rebuild is ocurring instead of a full bootstrap,
# essentially skipping stage0 as the local compiler is recompiling itself again.
#local-rebuild = false

# =============================================================================
# General install configuration options
# =============================================================================
Expand Down Expand Up @@ -195,6 +208,13 @@
# =============================================================================
[rust]

# Indicates that the build should be optimized for debugging Rust. Note that
# this is typically not what you want as it takes an incredibly large amount of
# time to have a debug-mode rustc compile any code (notably libstd). If this
# value is set to `true` it will affect a number of configuration options below
# as well, if unconfigured.
#debug = false

# Whether or not to optimize the compiler and standard library
# Note: the slowness of the non optimized compiler compiling itself usually
# outweighs the time gains in not doing optimizations, therefore a
Expand Down Expand Up @@ -249,6 +269,10 @@
# desired in distributions, for example.
#rpath = true

# Suppresses extraneous output from tests to ensure the output of the test
# harness is relatively clean.
#quiet-tests = false

# Flag indicating whether tests are compiled with optimizations (the -O flag) or
# with debuginfo (the -g flag)
#optimize-tests = true
Expand All @@ -259,7 +283,13 @@
#codegen-tests = true

# Flag indicating whether git info will be retrieved from .git automatically.
#ignore-git = false
# Having the git information can cause a lot of rebuilds during development.
# Note: If this attribute is not explicity set (e.g. if left commented out) it
# will default to true if channel = "dev", but will default to false otherwise.
#ignore-git = true

# When creating source tarballs whether or not to create a source tarball.
#dist-src = false

# =============================================================================
# Options for specific targets
Expand Down Expand Up @@ -304,6 +334,10 @@
# linked binaries
#musl-root = "..."

# Used in testing for configuring where the QEMU images are located, you
# probably don't want to use this.
#qemu-rootfs = "..."

# =============================================================================
# Distribution options
#
Expand Down
Loading