Skip to content

Rollup of 12 pull requests #39566

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 208 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
208 commits
Select commit Hold shift + click to select a range
ec356bb
rustdoc: fix doctests with non-feature crate attrs
Dec 4, 2016
02ae1e1
Support unprivileged symlink creation in Windows
chris-morgan Jan 8, 2017
9903975
Add 128-bit atomics
Amanieu Jan 10, 2017
6c94089
branchless .filter(_).count()
llogiq Jan 16, 2017
27f7615
fix style nits
llogiq Jan 17, 2017
b40432c
add test case for filter+count
llogiq Jan 18, 2017
c2eab73
Expand documentation of process::exit and exec
nagisa Dec 21, 2016
2bafbba
tell emcc stip exception handling if panic rt used
pepyakin Jan 19, 2017
91f8144
Implement the "static-nobundle" library kind (RFC 1717).
vadimcn Dec 13, 2016
3ae2174
Feature gate
vadimcn Dec 16, 2016
65147b6
Update nomicon to describe `#[may_dangle]`
apasel422 Jan 19, 2017
62c088c
Separate emscripten args
pepyakin Jan 20, 2017
24cb5b7
Json encoding/decoding for is_like_emscripten
pepyakin Jan 20, 2017
bfabe81
add explanation, fix test
llogiq Jan 24, 2017
b996a7e
Fix doc cfg(test) and tests directory
Jan 4, 2017
c6cfa3c
Extend Cell to work with non-Copy types
wesleywiser Jan 25, 2017
bb34856
Fix full path being output with `rustdoc -h`
mgattozzi Jan 26, 2017
1363cda
Remove unnecessary LLVMRustPersonalityFn binding
nagisa Jan 26, 2017
afac3ec
Move stability attributes per feedback
wesleywiser Jan 27, 2017
c31d5b5
Use less syscalls in `anon_pipe()`
tbu- Jan 27, 2017
e74b55b
use `String::with_capacity` in `format!`
krdln Jan 27, 2017
b081872
Implement `PartialEq<&[A]>` for `VecDeque<A>`.
frewsxcv Dec 28, 2016
95227a4
Remove ToPrimitive trait.
Mark-Simulacrum Jan 28, 2017
b54f593
Add clearer error message using `&str + &str`
mgattozzi Jan 14, 2017
18b96cf
Privatize constructors of tuple structs with private fields
petrochenkov Jan 8, 2017
962d88b
Fix the fallout
petrochenkov Jan 8, 2017
8b060e2
Implement compatibility lint for legacy constructor visibilities
petrochenkov Jan 20, 2017
c9788fd
Remove no longer necessary ctor checks in rustc_privacy
petrochenkov Jan 20, 2017
d38a8ad
Improve diagnostics for inaccessible constructors
petrochenkov Jan 28, 2017
d880bbb
Remove the workaround for gh32959
nagisa Jan 29, 2017
9128f61
Fix a few impl stability attributes
ollie27 Jan 29, 2017
4af76e8
Add Iterator::rfind.
Jan 29, 2017
986dd07
doc comment reword
king6cong Jan 30, 2017
701c32e
unify time_passes argument passing
king6cong Jan 30, 2017
4b46d2a
Don't handle ENOSYS in `anon_pipe()`
tbu- Jan 30, 2017
bcca5e6
trans::debuginfo: simplify
tamird Nov 10, 2015
83fe532
statics in match arm: compile with -g
tamird Nov 8, 2015
775b323
travis: Really delete the `doc` folder
alexcrichton Jan 30, 2017
fe324ce
rustdoc: mark ffi functions with unsafety icon
tspiteri Jan 30, 2017
b13d9ce
Add dev and ino to MetadataExt
jackpot51 Jan 31, 2017
d73e84d
use suggestions instead of helps with code in them
oli-obk Jan 31, 2017
d848f1d
rewrite the predecessors code to create a reduced graph
nikomatsakis Jan 31, 2017
d10a509
Don't build gcc_personality_v0.c on NetBSD either
jakllsch Jan 23, 2017
4b52600
update mailmap for @pliniker
steveklabnik Jan 31, 2017
4a07e72
In std:rc, clarify the lack of mutability inside an Rc
federicomenaquintero Jan 25, 2017
94687aa
Removes FIXMEs related to #22405
wesleywiser Jan 31, 2017
dfcca54
std: Add ToString trait specialization for Cow<'a, str> and String
F001 Feb 1, 2017
7403ee9
Adjust heuristics to better handle "{}..." format strings.
krdln Feb 1, 2017
ecda7f3
remove the wrapping arithmetics
krdln Feb 2, 2017
2a6f7e4
Auto merge of #38661 - frewsxcv:vec-deque-partial-eq, r=aturon
bors Feb 2, 2017
395f23c
save-analysis: be more paranoid about generated paths
nrc Feb 2, 2017
daa5091
Update cell docs
wesleywiser Jan 27, 2017
8b947a3
Update Cell references in the book
wesleywiser Feb 2, 2017
89f9767
Change tracking issue for `proc_macro` feature to #38356
abonander Feb 2, 2017
1b6b20a
Auto merge of #38932 - petrochenkov:privctor, r=jseyfried
bors Feb 2, 2017
6abe648
Auto merge of #39116 - mgattozzi:better-string-message, r=nrc
bors Feb 2, 2017
3b24c70
Auto merge of #39384 - wesleywiser:fix_fixmes, r=alexcrichton
bors Feb 2, 2017
823e185
Suggest only if resolution was previously resolved
phungleson Feb 2, 2017
d5f5474
Auto merge of #39386 - tbu-:pr_pipe_less_syscalls, r=alexcrichton
bors Feb 2, 2017
1a2428f
Auto merge of #39402 - king6cong:master, r=nrc
bors Feb 2, 2017
a47a6ea
Auto merge of #39411 - tamird:match-arm-statics-ICE, r=alexcrichton
bors Feb 2, 2017
80f7db6
std: Fix IntoIter::as_mut_slice's signature
alexcrichton Feb 2, 2017
6c2ef52
rustbuild: Build jemalloc and libbacktrace only once (take 2)
petrochenkov Jan 26, 2017
c025330
Fix build in cross-compilation scenarios
petrochenkov Jan 28, 2017
a5b603b
Build libbacktrace/jemalloc only when their timestamps are older than…
petrochenkov Jan 31, 2017
b4abb72
Fixup crate versions
petrochenkov Feb 2, 2017
5ada328
Rollup merge of #38823 - Freyskeyd:doc-missingInformationCfgTest, r=s…
GuillaumeGomez Feb 2, 2017
38ae923
Rollup merge of #39196 - apasel422:nomicon, r=petrochenkov
GuillaumeGomez Feb 2, 2017
b03436d
Rollup merge of #39299 - federicomenaquintero:master, r=GuillaumeGomez
GuillaumeGomez Feb 2, 2017
bcfa2f1
Rollup merge of #39319 - nagisa:remove-rustsetpersonalityfn, r=pnkfelix
GuillaumeGomez Feb 2, 2017
a768827
Rollup merge of #39373 - Mark-Simulacrum:remove-toprimitive, r=aturon
GuillaumeGomez Feb 2, 2017
7bc3222
Rollup merge of #39383 - nagisa:mir-uninhabited-destinations, r=pnkfelix
GuillaumeGomez Feb 2, 2017
9559c4d
Rollup merge of #39416 - tspiteri:ffi-unsafe-icon, r=brson
GuillaumeGomez Feb 2, 2017
a561ad8
Rollup merge of #39420 - oli-obk:sugg, r=pnkfelix
GuillaumeGomez Feb 2, 2017
d09e4de
Rollup merge of #39427 - steveklabnik:pliniker-mailmap, r=alexcrichton
GuillaumeGomez Feb 2, 2017
a0efdf3
Don't check for sudo environment if vendored sources are already conf…
djc Feb 2, 2017
8e793eb
Guard against USER not existing in the environment
djc Feb 2, 2017
51e5cb5
Fix typo in bootstrap.py info message
djc Feb 2, 2017
eedaa94
Auto merge of #39470 - GuillaumeGomez:rollup, r=GuillaumeGomez
bors Feb 2, 2017
7f294e4
Auto merge of #39466 - alexcrichton:fix, r=Manishearth
bors Feb 3, 2017
5a60194
don't use a mutable field where parameter passing will do
nikomatsakis Jan 27, 2017
93e0bc6
change the `used_trait_imports` map to be a `DefIdSet`
nikomatsakis Jan 28, 2017
65b93eb
introduce `LintTable`
nikomatsakis Jan 28, 2017
d9aaca7
store typeck lints in the `TypeckTables`
nikomatsakis Jan 28, 2017
fdd7e3c
remove some of the ways to mutate a `DepTrackingMap`
nikomatsakis Feb 1, 2017
2add6ac
Add a name for the parameter to `TryFrom::try_from`.
jimmycuadra Feb 3, 2017
78f7ac5
rejigger how we handle used trait imports
nikomatsakis Jan 28, 2017
4b5613c
prevent multiple writes to a single entry in a `DepTrackingMap`
nikomatsakis Feb 2, 2017
5de2a24
Auto merge of #39287 - wesleywiser:move_cell, r=aturon
bors Feb 3, 2017
681bc5c
rustbuild: Add x.py to source tarballs
alexcrichton Feb 3, 2017
3cf485c
Move rfind to DoubleEndedIterator, add tracking issue.
Feb 3, 2017
57ecd7a
Auto merge of #39329 - petrochenkov:rb2, r=alexcrichton
bors Feb 3, 2017
3ccb87a
liballoc_jemalloc: fix linking with system library
ishitatsuyuki Feb 3, 2017
458167e
Add `aarch64-unknown-freebsd` to the supported targets
dumbbell Jan 25, 2017
f6c6b31
`aarch64` CPU type is called `arm64` on FreeBSD
dumbbell Feb 3, 2017
5e41ec2
rename other than copy/remove
king6cong Feb 1, 2017
7de99cd
Merge remote tracking branch 'upstream/master'
ishitatsuyuki Feb 3, 2017
f45992b
Auto merge of #39415 - alexcrichton:fix-upload-dirs, r=brson
bors Feb 3, 2017
768f6a9
add and use rename_or_copy_remove fn that fallback to copy & remove
king6cong Feb 3, 2017
230234f
Add information in case of markdown block code test failure
GuillaumeGomez Sep 7, 2016
902460d
Add line number and filename in error message
GuillaumeGomez Oct 2, 2016
59ac401
Truncate output example to 10 lines
GuillaumeGomez Oct 9, 2016
5fe3915
Rework rustdoc test output a bit
GuillaumeGomez Nov 15, 2016
a0ad4ad
Change thread name
GuillaumeGomez Nov 19, 2016
409e8ba
Move to my own hoedown repository
GuillaumeGomez Jan 12, 2017
62fb7fc
Switch logic to Span instead of HashMap
GuillaumeGomez Jan 17, 2017
d97226c
Add new rustdoc ui tests
GuillaumeGomez Jan 19, 2017
aea6f32
Put rustdoc --test ui check at the end of docs check
GuillaumeGomez Jan 20, 2017
44b59be
Move test from bootstrap to compiletest
GuillaumeGomez Jan 20, 2017
6756b72
Create new flag to test rustdoc --test
GuillaumeGomez Jan 23, 2017
f144795
Set correct hoedown submodule branch
GuillaumeGomez Jan 28, 2017
7c4b79c
Update run-make/issue-22131 to new rustdoc --test format
GuillaumeGomez Jan 28, 2017
723eed3
Update cargo version to last master
GuillaumeGomez Feb 2, 2017
2cc84df
Add warning for () to ! switch
canndrew Jan 11, 2017
c570cd6
Fix make tidy
canndrew Jan 12, 2017
5dbaefb
Hash TyTuple's defaulted flag
canndrew Jan 12, 2017
085f046
Add is_defaulted_unit helper method
canndrew Jan 21, 2017
5c90dd7
Use a proper future-compatibility lint
canndrew Jan 21, 2017
6a99573
Fix test
canndrew Jan 21, 2017
40c9538
Fix test
canndrew Jan 29, 2017
ef9ae85
make dirty process O(dirty)
nikomatsakis Feb 3, 2017
afbf6c8
s/in_index/input_index/
nikomatsakis Feb 3, 2017
aed6410
Auto merge of #39418 - redox-os:redox_fs_ext, r=brson
bors Feb 3, 2017
b7f1d7a
Update to last cargo version
GuillaumeGomez Feb 3, 2017
3c020df
tiny doc wording change
phungleson Feb 3, 2017
0267529
Merge remote-tracking branch 'upstream/master' into format-with-capacity
krdln Feb 3, 2017
7abab8a
add a comment about optimality that somehow got removed
nikomatsakis Feb 3, 2017
86d9ed6
Auto merge of #39356 - krdln:format-with-capacity, r=aturon
bors Feb 3, 2017
626e754
Bump version, upgrade bootstrap
alexcrichton Feb 1, 2017
2a8ee8c
Add missing urls in HashMap
GuillaumeGomez Feb 3, 2017
d14b268
libbacktrace: Fix uninitialized variable
petrochenkov Feb 3, 2017
0648517
Auto merge of #39463 - alexcrichton:update-bootstrap, r=alexcrichton
bors Feb 3, 2017
34f444d
Extract libcore benchmarks to a separate folder
phungleson Feb 3, 2017
efeb42b
Use less syscalls in `FileDesc::set_{nonblocking,cloexec}`
tbu- Feb 4, 2017
d650cf5
Update relnotes for 1.15.1
brson Feb 4, 2017
c781fc4
Auto merge of #36320 - GuillaumeGomez:rustdoc_test_info, r=alexcrichton
bors Feb 4, 2017
3c16139
Don't use "unadjusted" ABI on non windows platforms
est31 Feb 2, 2017
2fc1586
go back to the older model of coherence collect
nikomatsakis Feb 4, 2017
7504897
vadimcn Feb 4, 2017
5a21f42
run rustfmt for librustc/util/fs.rs
king6cong Feb 4, 2017
87ace0d
More snap cleanup
nagisa Feb 4, 2017
206ee20
Unignore stage0/1 i128 tests as well
nagisa Feb 4, 2017
1b5c7ac
Auto merge of #39399 - clarcharr:iter_rfind, r=alexcrichton
bors Feb 4, 2017
7444d07
Fix test
canndrew Feb 4, 2017
42f3ac5
Expand defaulted unit test
canndrew Feb 4, 2017
7df5c0f
Auto merge of #39425 - jakllsch:netbsd-a, r=alexcrichton
bors Feb 4, 2017
a1f42cd
Uninhabited while-let pattern fix
canndrew Feb 4, 2017
b4ef361
README path correction
king6cong Feb 4, 2017
8568fdc
Auto merge of #39440 - F001:SpecializeCow, r=bluss
bors Feb 4, 2017
768c6c0
Support a debug info API change for LLVM 4.0
Feb 4, 2017
112a5a0
ignore more gdb versions with buggy rust support
TimNN Feb 4, 2017
b3096e2
pacify the mercilous tidy, improve cycle unit test
nikomatsakis Feb 4, 2017
e4eea73
Auto merge of #39434 - nikomatsakis:incr-comp-skip-typeck-2, r=eddyb
bors Feb 4, 2017
d81b440
Rollup merge of #39486 - phungleson:tiny-doc-wording-change, r=alexcr…
GuillaumeGomez Feb 4, 2017
2ce93c1
Rollup merge of #39506 - GuillaumeGomez:hashmap_docs, r=frewsxcv
GuillaumeGomez Feb 4, 2017
e204987
Rollup merge of #39517 - brson:relnotes-151, r=alexcrichton
GuillaumeGomez Feb 4, 2017
a884a6c
Slightly optimize slice::sort
Feb 4, 2017
8967085
Auto merge of #39533 - GuillaumeGomez:rollup, r=GuillaumeGomez
bors Feb 4, 2017
fa457bf
Minor fix in the *_expensive benchmark
Feb 4, 2017
eb5cb95
Auto merge of #39424 - nikomatsakis:incr-comp-skip-typeck-3, r=mw
bors Feb 4, 2017
65b0554
note individual lint name set via lint group attribute in notes
zackmdavis Jan 6, 2017
9301446
note lint group set on command line triggering individual lint
zackmdavis Jan 6, 2017
778958f
make lint-group-style test a UI rather than a compile-fail test
zackmdavis Jan 5, 2017
72af42e
note wording: lint implied by lint group, not lint group implies lint
zackmdavis Jan 6, 2017
a40be08
libstd/net: Add `peek` APIs to UdpSocket and TcpStream
Jan 11, 2017
ea7a648
Auto merge of #38426 - vadimcn:nobundle, r=alexcrichton
bors Feb 4, 2017
0477daf
Make builtin derives a SyntaxExtension
keeperofdakeys Jan 23, 2017
0a7380d
Rename CustomDerive to ProcMacroDerive for macros 1.1
keeperofdakeys Jan 23, 2017
fbdd038
Move derive macro expansion into the MacroExpander
keeperofdakeys Feb 1, 2017
8e02ad0
Provide Entry-like API for Option
shahn Jan 25, 2017
d7777ae
Auto merge of #38103 - zackmdavis:lint_errors_resulting_from_lint_gro…
bors Feb 5, 2017
a201348
Update pretty test for derive attributes
keeperofdakeys Feb 5, 2017
5e06aee
correct version in which more_struct_aliases was/will be stable
zackmdavis Feb 5, 2017
696f5c1
Auto merge of #38161 - durka:rustdoc-crate-attrs, r=alexcrichton
bors Feb 5, 2017
0dbb1e4
Remove use of ptr::eq
canndrew Feb 5, 2017
001bfb9
Rollup merge of #38518 - nagisa:exec-doc, r=alexcrichton
frewsxcv Feb 5, 2017
6a4c906
Rollup merge of #38921 - chris-morgan:windows-unprivileged-symlink-cr…
frewsxcv Feb 5, 2017
c4c6c49
Rollup merge of #38959 - Amanieu:atomic128, r=alexcrichton
frewsxcv Feb 5, 2017
ca202fe
Rollup merge of #38983 - APTy:udp-peek, r=aturon
frewsxcv Feb 5, 2017
4f8ce9e
Rollup merge of #39009 - canndrew:default-unit-warnings, r=nikomatsakis
frewsxcv Feb 5, 2017
8163b4b
Rollup merge of #39107 - llogiq:branchless_filter_count, r=alexcrichton
frewsxcv Feb 5, 2017
49cd748
Rollup merge of #39193 - pepyakin:emcc-strip-panic-rt, r=alexcrichton
frewsxcv Feb 5, 2017
76e9ea7
Rollup merge of #39289 - shahn:option_entry, r=alexcrichton
frewsxcv Feb 5, 2017
5cfd5ed
Rollup merge of #39312 - mgattozzi:rustdoc-help-fix, r=alexcrichton
frewsxcv Feb 5, 2017
65b2477
Rollup merge of #39393 - ollie27:stab_impls, r=alexcrichton
frewsxcv Feb 5, 2017
805a99e
Rollup merge of #39442 - keeperofdakeys:expand-derives, r=jseyfried
frewsxcv Feb 5, 2017
cd5c520
Rollup merge of #39443 - phungleson:remove-unresolved-things, r=nikom…
frewsxcv Feb 5, 2017
ece9240
Rollup merge of #39453 - nrc:save-path, r=nikomatsakis
frewsxcv Feb 5, 2017
296c07e
Rollup merge of #39454 - abonander:proc_macro_tracking_issue, r=jseyf…
frewsxcv Feb 5, 2017
e7f6c36
Rollup merge of #39471 - djc:bootstrap-user, r=alexcrichton
frewsxcv Feb 5, 2017
e06fa7c
Rollup merge of #39477 - jimmycuadra:try-from-parameter-name, r=alexc…
frewsxcv Feb 5, 2017
403ca55
Rollup merge of #39478 - alexcrichton:add-xpy, r=japaric
frewsxcv Feb 5, 2017
94fd315
Rollup merge of #39527 - king6cong:bootstrap-doc, r=alexcrichton
frewsxcv Feb 5, 2017
0a09274
Rollup merge of #39552 - zackmdavis:more_struct_aliases_stabilization…
frewsxcv Feb 5, 2017
9c8cdb2
Auto merge of #39563 - frewsxcv:rollup, r=frewsxcv
bors Feb 5, 2017
7135d0a
Fix make tidy
canndrew Feb 5, 2017
0a62bc4
Rollup merge of #39439 - king6cong:move, r=alexcrichton
frewsxcv Feb 5, 2017
3ad5f06
Rollup merge of #39472 - est31:unadjusted_only_for_win, r=nagisa
frewsxcv Feb 5, 2017
628f1a6
Rollup merge of #39481 - ishitatsuyuki:master, r=alexcrichton
frewsxcv Feb 5, 2017
b7b5d64
Rollup merge of #39491 - dumbbell:support-aarch64-unknown-freebsd, r=…
frewsxcv Feb 5, 2017
0967787
Rollup merge of #39501 - phungleson:libcorebench, r=alexcrichton
frewsxcv Feb 5, 2017
c4b6cfc
Rollup merge of #39509 - petrochenkov:rb2, r=alexcrichton
frewsxcv Feb 5, 2017
51ffd6d
Rollup merge of #39514 - tbu-:pr_less_syscalls_fd, r=alexcrichton
frewsxcv Feb 5, 2017
509995c
Rollup merge of #39519 - nagisa:more-snap, r=alexcrichton
frewsxcv Feb 5, 2017
78b1b50
Rollup merge of #39526 - canndrew:uninhabited-while-let-fix, r=arielb1
frewsxcv Feb 5, 2017
4c97ad8
Rollup merge of #39528 - dylanmckay:llvm-4.0-diglobalvar, r=alexcrichton
frewsxcv Feb 5, 2017
bee32f0
Rollup merge of #39530 - TimNN:more-gdb, r=alexcrichton
frewsxcv Feb 5, 2017
346a309
Rollup merge of #39538 - stjepang:slightly-optimize-sort, r=alexcrichton
frewsxcv Feb 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
  •  
  •  
  •  
1 change: 1 addition & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
[submodule "src/rt/hoedown"]
path = src/rt/hoedown
url = https://github.com/rust-lang/hoedown.git
branch = rust-2015-09-21-do-not-delete
[submodule "src/jemalloc"]
path = src/jemalloc
url = https://github.com/rust-lang/jemalloc.git
Expand Down
1 change: 1 addition & 0 deletions .mailmap
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,7 @@ Ožbolt Menegatti <[email protected]> gareins <[email protected]
Paul Faria <[email protected]> Paul Faria <[email protected]>
Peer Aramillo Irizar <[email protected]> parir <[email protected]>
Peter Elmers <[email protected]> <[email protected]>
Peter Liniker <[email protected]>
Peter Zotov <[email protected]>
Phil Dawes <[email protected]> Phil Dawes <[email protected]>
Philipp Brüschweiler <[email protected]> <[email protected]>
Expand Down
3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -109,11 +109,12 @@ cache:

before_deploy:
- mkdir -p deploy/$TRAVIS_COMMIT
- rm -rf build/dist/doc
- >
if [ "$TRAVIS_OS_NAME" == "osx" ]; then
rm -rf build/dist/doc &&
cp -r build/dist/* deploy/$TRAVIS_COMMIT;
else
rm -rf obj/build/dist/doc &&
cp -r obj/build/dist/* deploy/$TRAVIS_COMMIT;
fi

Expand Down
8 changes: 8 additions & 0 deletions RELEASES.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
Version 1.15.1 (2017-02-07)
===========================

* [Fix IntoIter::as_mut_slice's signature][39466]

[39466]: https://github.com/rust-lang/rust/pull/39466


Version 1.15.0 (2017-02-02)
===========================

Expand Down
2 changes: 1 addition & 1 deletion configure
Original file line number Diff line number Diff line change
Expand Up @@ -517,7 +517,7 @@ case $CFG_CPUTYPE in
CFG_OSTYPE="${CFG_OSTYPE}eabihf"
;;

aarch64)
aarch64 | arm64)
CFG_CPUTYPE=aarch64
;;

Expand Down
1 change: 1 addition & 0 deletions mk/cfg/aarch64-unknown-freebsd.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# rustbuild-only target
23 changes: 10 additions & 13 deletions mk/crates.mk
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ TARGET_CRATES := libc std term \
compiler_builtins core alloc \
std_unicode rustc_bitflags \
alloc_system alloc_jemalloc \
panic_abort panic_unwind unwind rustc_i128
panic_abort panic_unwind unwind
RUSTC_CRATES := rustc rustc_typeck rustc_mir rustc_borrowck rustc_resolve rustc_driver \
rustc_trans rustc_back rustc_llvm rustc_privacy rustc_lint \
rustc_data_structures rustc_platform_intrinsics rustc_errors \
Expand Down Expand Up @@ -92,25 +92,24 @@ DEPS_getopts := std
DEPS_graphviz := std
DEPS_log := std
DEPS_num := std
DEPS_serialize := std log rustc_i128
DEPS_serialize := std log
DEPS_term := std
DEPS_test := std getopts term native:rust_test_helpers
DEPS_rustc_i128 = std

DEPS_syntax := std term serialize log arena libc rustc_bitflags std_unicode rustc_errors \
syntax_pos rustc_data_structures rustc_i128
syntax_pos rustc_data_structures
DEPS_syntax_ext := syntax syntax_pos rustc_errors fmt_macros proc_macro
DEPS_proc_macro := syntax syntax_pos rustc_plugin log
DEPS_syntax_pos := serialize
DEPS_proc_macro_plugin := syntax syntax_pos rustc_plugin

DEPS_rustc_const_math := std syntax log serialize rustc_i128
DEPS_rustc_const_math := std syntax log serialize
DEPS_rustc_const_eval := rustc_const_math rustc syntax log serialize \
rustc_back graphviz syntax_pos rustc_i128
rustc_back graphviz syntax_pos

DEPS_rustc := syntax fmt_macros flate arena serialize getopts \
log graphviz rustc_llvm rustc_back rustc_data_structures\
rustc_const_math syntax_pos rustc_errors rustc_i128
rustc_const_math syntax_pos rustc_errors
DEPS_rustc_back := std syntax flate log libc
DEPS_rustc_borrowck := rustc log graphviz syntax syntax_pos rustc_errors rustc_mir
DEPS_rustc_data_structures := std log serialize libc
Expand All @@ -121,20 +120,19 @@ DEPS_rustc_driver := arena flate getopts graphviz libc rustc rustc_back rustc_bo
rustc_passes rustc_save_analysis rustc_const_eval \
rustc_incremental syntax_pos rustc_errors proc_macro rustc_data_structures
DEPS_rustc_errors := log libc serialize syntax_pos
DEPS_rustc_lint := rustc log syntax syntax_pos rustc_const_eval rustc_i128
DEPS_rustc_lint := rustc log syntax syntax_pos rustc_const_eval
DEPS_rustc_llvm := native:rustllvm libc std rustc_bitflags
DEPS_proc_macro := std syntax
DEPS_rustc_metadata := rustc syntax syntax_pos rustc_errors rustc_const_math \
proc_macro syntax_ext rustc_i128
proc_macro syntax_ext
DEPS_rustc_passes := syntax syntax_pos rustc core rustc_const_eval rustc_errors
DEPS_rustc_mir := rustc syntax syntax_pos rustc_const_math rustc_const_eval rustc_bitflags \
rustc_i128
DEPS_rustc_mir := rustc syntax syntax_pos rustc_const_math rustc_const_eval rustc_bitflags
DEPS_rustc_resolve := arena rustc log syntax syntax_pos rustc_errors
DEPS_rustc_platform_intrinsics := std
DEPS_rustc_plugin := rustc rustc_metadata syntax syntax_pos rustc_errors
DEPS_rustc_privacy := rustc log syntax syntax_pos
DEPS_rustc_trans := arena flate getopts graphviz libc rustc rustc_back \
log syntax serialize rustc_llvm rustc_platform_intrinsics rustc_i128 \
log syntax serialize rustc_llvm rustc_platform_intrinsics \
rustc_const_math rustc_const_eval rustc_incremental rustc_errors syntax_pos
DEPS_rustc_incremental := rustc syntax_pos serialize rustc_data_structures
DEPS_rustc_save_analysis := rustc log syntax syntax_pos serialize
Expand Down Expand Up @@ -162,7 +160,6 @@ ONLY_RLIB_alloc := 1
ONLY_RLIB_rand := 1
ONLY_RLIB_collections := 1
ONLY_RLIB_std_unicode := 1
ONLY_RLIB_rustc_i128 := 1
ONLY_RLIB_rustc_bitflags := 1
ONLY_RLIB_alloc_system := 1
ONLY_RLIB_alloc_jemalloc := 1
Expand Down
2 changes: 1 addition & 1 deletion mk/main.mk
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
######################################################################

# The version number
CFG_RELEASE_NUM=1.16.0
CFG_RELEASE_NUM=1.17.0

# An optional number to put after the label, e.g. '.2' -> '-beta.2'
# NB Make sure it starts with a dot to conform to semver pre-release
Expand Down
2 changes: 2 additions & 0 deletions mk/rt.mk
Original file line number Diff line number Diff line change
Expand Up @@ -552,9 +552,11 @@ endif
ifeq ($$(findstring msvc,$(1)),)

ifeq ($$(findstring freebsd,$(1)),)
ifeq ($$(findstring netbsd,$(1)),)
$(call ADD_INTRINSIC,$(1),gcc_personality_v0.o)
endif
endif
endif

ifeq ($$(findstring aarch64,$(1)),aarch64)
$(foreach intrinsic,comparetf2.o \
Expand Down
24 changes: 6 additions & 18 deletions src/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions src/bootstrap/bin/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
//! rustbuild, the Rust build system
//!
//! This is the entry point for the build system used to compile the `rustc`
//! compiler. Lots of documentation can be found in the `README.md` file next to
//! this file, and otherwise documentation can be found throughout the `build`
//! compiler. Lots of documentation can be found in the `README.md` file in the
//! parent directory, and otherwise documentation can be found throughout the `build`
//! directory in each respective module.

#![deny(warnings)]
Expand Down
8 changes: 5 additions & 3 deletions src/bootstrap/bootstrap.py
Original file line number Diff line number Diff line change
Expand Up @@ -379,6 +379,8 @@ def build_triple(self):
ostype += 'eabihf'
elif cputype == 'aarch64':
cputype = 'aarch64'
elif cputype == 'arm64':
cputype = 'aarch64'
elif cputype == 'mips':
if sys.byteorder == 'big':
cputype = 'mips'
Expand Down Expand Up @@ -438,14 +440,14 @@ def main():
rb.use_vendored_sources = '\nvendor = true' in rb.config_toml or \
'CFG_ENABLE_VENDOR' in rb.config_mk

if 'SUDO_USER' in os.environ:
if os.environ['USER'] != os.environ['SUDO_USER']:
if 'SUDO_USER' in os.environ and not rb.use_vendored_sources:
if os.environ.get('USER') != os.environ['SUDO_USER']:
rb.use_vendored_sources = True
print('info: looks like you are running this command under `sudo`')
print(' and so in order to preserve your $HOME this will now')
print(' use vendored sources by default. Note that if this')
print(' does not work you should run a normal build first')
print(' before running a command like `sudo make intall`')
print(' before running a command like `sudo make install`')

if rb.use_vendored_sources:
if not os.path.exists('.cargo'):
Expand Down
2 changes: 1 addition & 1 deletion src/bootstrap/check.rs
Original file line number Diff line number Diff line change
Expand Up @@ -383,7 +383,7 @@ pub fn krate(build: &Build,
// helper crate, not tested. If it leaks through then it ends up
// messing with various mtime calculations and such.
if !name.contains("jemalloc") && name != "build_helper" {
cargo.arg("-p").arg(name);
cargo.arg("-p").arg(&format!("{}:0.0.0", name));
}
for dep in build.crates[name].deps.iter() {
if visited.insert(dep) {
Expand Down
4 changes: 2 additions & 2 deletions src/bootstrap/compile.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ use std::fs::{self, File};
use std::path::{Path, PathBuf};
use std::process::Command;

use build_helper::output;
use build_helper::{output, mtime};
use filetime::FileTime;

use util::{exe, libdir, mtime, is_dylib, copy};
use util::{exe, libdir, is_dylib, copy};
use {Build, Compiler, Mode};

/// Build the standard library.
Expand Down
3 changes: 2 additions & 1 deletion src/bootstrap/dist.rs
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,8 @@ pub fn rust_src(build: &Build) {
"README.md",
"RELEASES.md",
"configure",
"Makefile.in"
"Makefile.in",
"x.py",
];
let src_dirs = [
"man",
Expand Down
3 changes: 2 additions & 1 deletion src/bootstrap/doc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ use std::io::prelude::*;
use std::process::Command;

use {Build, Compiler, Mode};
use util::{up_to_date, cp_r};
use util::cp_r;
use build_helper::up_to_date;

/// Invoke `rustbook` as compiled in `stage` for `target` for the doc book
/// `name` into the `out` path.
Expand Down
Loading