Alex Crichton
046e6874c4
Add a Cargo-based build system
...
This commit is the start of a series of commits which start to replace the
makefiles with a Cargo-based build system. The aim is not to remove the
makefiles entirely just yet but rather just replace the portions that invoke the
compiler to do the bootstrap. This commit specifically adds enough support to
perform the bootstrap (and all the cross compilation within) along with
generating documentation.
More commits will follow up in this series to actually wire up the makefiles to
call this build system, so stay tuned!
2016-02-11 10:42:28 -08:00
Peter Atashian
dc97023e31
Fix usage of GetUserProfileDirectoryW in env::home_dir
...
Signed-off-by: Peter Atashian <retep998@gmail.com>
2016-02-11 13:12:56 -05:00
arcnmx
0ff055ad66
Pass through diagnostic handler instead
2016-02-11 12:45:52 -05:00
arcnmx
a141c52816
Use find_export_name_attr instead of string literal
2016-02-11 12:45:52 -05:00
arcnmx
32328ac6ff
Remove link_section and linkage as extern indicators
2016-02-11 12:45:52 -05:00
arcnmx
e6f0f7d52d
Only retain external static symbols across LTO
2016-02-11 12:45:52 -05:00
llogiq
d483a6e248
add item_post methods
2016-02-11 18:19:18 +01:00
bors
aa1dc0975a
Auto merge of #31532 - tomaka:fix-emscripten, r=brson
...
Before this PR:
> test result: FAILED. 2039 passed; 327 failed; 2 ignored; 0 measured
After:
> test result: FAILED. 2232 passed; 134 failed; 2 ignored; 0 measured
r? @brson
2016-02-11 16:49:20 +00:00
bors
a91ff1c9d1
Auto merge of #31527 - danlrobertson:i15735, r=alexcrichton
...
After some digging I couldn't find a test for #15735 , so I added a simplified version to `run-pass` and tested it against 80a3f45
to ensure it fails.
2016-02-11 14:51:47 +00:00
Simon Sapin
3de820ee79
Add SocketAddrV6::set_flowinfo and set_scope_id
2016-02-11 15:36:10 +01:00
Simon Sapin
5a249abba7
Add SocketAddr{,V4,V6}::set_ip
.
2016-02-11 15:29:18 +01:00
Sandeep Datta
a6fedc85bf
Minor change.
2016-02-11 19:55:45 +05:30
Sandeep Datta
a8fd1bbd2f
Minor change.
2016-02-11 19:44:33 +05:30
Sandeep Datta
50d179e062
Explained the data race with an example.
2016-02-11 19:40:19 +05:30
Simon Sapin
cd01366279
Add SocketAddr{,V4,V6}::set_port
.
...
As demonstrated in the `resolve_socket_addr` change, this is less awkward
than re-creating a new address from the other parts.
2016-02-11 14:24:48 +01:00
bors
7732c0aa9e
Auto merge of #31487 - oli-obk:breaking_batch/ast/unop, r=Manishearth
...
r? @Manishearth
I just noticed they can't be rolled up (often modifying the same line(s) in imports). So once I reach the critical amount for them to be merged I'll create a PR that merges all of them.
2016-02-11 12:52:42 +00:00
Oliver Middleton
c3320c0498
Enable /SAFESEH for i686-pc-windows-msvc
2016-02-11 12:07:57 +00:00
Oliver Middleton
1da127bbd3
Enable /LARGEADDRESSAWARE for i686-pc-windows-msvc
...
It's already enabled for i686-pc-windows-gnu.
2016-02-11 12:07:57 +00:00
Oliver Schneider
bafea3bf78
fixup: meta item kind
2016-02-11 12:35:47 +01:00
Oliver 'ker' Schneider
2b816b0d6a
[breaking-change] don't glob export ast::PathListItem_ variants
2016-02-11 12:34:48 +01:00
Oliver 'ker' Schneider
8b3856b1bc
[breaking-change] don't glob export ast::StrStyle variants
2016-02-11 12:34:48 +01:00
Oliver 'ker' Schneider
d844bfb196
[breaking-change] don't glob export ast::Visibility variants
2016-02-11 12:34:48 +01:00
Oliver 'ker' Schneider
dfe35da6b8
[breaking-change] don't glob export ast::TraitItemKind variants
2016-02-11 12:34:48 +01:00
Oliver 'ker' Schneider
73fa9b2da2
[breaking-change] don't glob export ast::Mutablity variants
2016-02-11 12:34:48 +01:00
Oliver 'ker' Schneider
14e09ad468
[breaking-change] don't glob export ast::MetaItem_
2016-02-11 12:34:48 +01:00
Oliver 'ker' Schneider
e797e1961d
[breaking-change] don't glob export ast::MacStmtStyle
2016-02-11 12:34:48 +01:00
Oliver 'ker' Schneider
798974cae5
[breaking-change] don't glob export ast::KleeneOp variants
2016-02-11 12:34:48 +01:00
Oliver 'ker' Schneider
019614f03d
[breaking-change] don't glob export ast::Item_ variants
2016-02-11 12:34:48 +01:00
Oliver 'ker' Schneider
0d6ddd1903
[breaking-change] don't glob export ast::ForeignItem_ variants
2016-02-11 12:34:48 +01:00
Oliver Schneider
8290c950a8
[breaking-change] don't pub export ast::Stmt_ variants
2016-02-11 12:34:48 +01:00
Oliver Schneider
498a2e416e
[breaking-change] don't pub export ast::IntLitType variants
2016-02-11 12:34:48 +01:00
Oliver Schneider
69072c4f5d
[breaking-change] don't pub export ast::Lit_ variants
2016-02-11 12:34:48 +01:00
Oliver Schneider
05d4cefd63
[breaking-change] don't pub export ast::Ty_ variants
2016-02-11 12:34:48 +01:00
Oliver Schneider
ec61e632c0
[breaking-change] remove unused enum ast::PrimTy
2016-02-11 12:34:48 +01:00
Oliver Schneider
08e35d4dec
remove unit test that can't be tested anymore
2016-02-11 12:34:48 +01:00
Oliver Schneider
bfa66bb389
[breaking-change] remove the sign from integer literals in the ast
2016-02-11 12:34:48 +01:00
Oliver Schneider
625e78b700
[breaking-change] don't glob export ast::{UintTy, IntTy} variants
2016-02-11 12:34:48 +01:00
Oliver Schneider
ccf48bcd40
[breaking-change] don't glob export ast::FloatTy variants
2016-02-11 12:34:48 +01:00
Oliver Schneider
80bf9ae18a
[breaking-change] don't glob export ast::Expr_ variants
2016-02-11 12:34:48 +01:00
Oliver Schneider
1c4d437158
[breaking-change] don't glob export ast::ExplicitSelf_ variants
2016-02-11 12:34:48 +01:00
Oliver Schneider
79fa657abc
[breaking-change] don't glob export ast::Decl_ variants
2016-02-11 12:34:48 +01:00
Oliver Schneider
8516ba367d
[breaking-change] don't glob export ast::CaptureClause variants
2016-02-11 12:34:48 +01:00
Oliver Schneider
243a30c931
[breaking-change] don't glob import/export syntax::abi enum variants
2016-02-11 12:34:48 +01:00
Oliver Schneider
47b0784ba8
[breaking-change] don't glob export ast::BlockCheckMode variants
2016-02-11 12:34:48 +01:00
Oliver Schneider
3b57d40fe5
[breaking-change] don't glob import ast::FunctionRetTy variants
2016-02-11 12:34:48 +01:00
Oliver Schneider
05e25de4f0
[breaking-change] don't glob export ast::BinOp_
2016-02-11 12:34:48 +01:00
Oliver Schneider
f875f4c4c2
[breaking-change] don't glob export ast::UnOp variants
2016-02-11 12:34:48 +01:00
Pierre Krieger
ee91c25b04
Ignore tests that use threads on emscripten
2016-02-11 12:34:41 +01:00
bors
f5f8e0bfbe
Auto merge of #31525 - antonblanchard:powerpc64_merge4, r=alexcrichton
...
We no longer have a separate powerpc64 and powerpc64le target_arch, and instead use target_endian to select between the two. These patches fix a couple of remaining issues.
2016-02-11 10:56:45 +00:00
Johan Lorenzo
274f27a476
Add -C link-dead-code option r=alexcrichton
...
Turning gc-sections off improves code coverage based for tools which
use DWARF debugging information (like kcov). Otherwise dead code is
stripped and kcov returns a coverage percentage that doesn't reflect
reality.
2016-02-11 11:14:32 +01:00