Skip to content

Rollup of 13 pull requests #39638

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

Merged
merged 43 commits into from
Feb 8, 2017
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
43 commits
Select commit Hold shift + click to select a range
108293d
Added Default impl to PathBuf
Jan 1, 2017
87dcbca
add From<[u8; n]> impls for IpAddr
seanmonstar Jan 28, 2017
1747ce2
Add support for test suites emulated in QEMU
alexcrichton Jan 28, 2017
6d9f359
Add i686-unknown-netbsdelf target
jakllsch Jan 23, 2017
cd603e4
add From<(I, u16)> for SocketAddr where I: Into<IpAddr>
seanmonstar Jan 28, 2017
897029d
Update grammar struct field init shorthand
Jan 16, 2017
3388855
Add explain struct field init shorthand
Jan 16, 2017
a7b65f1
Add doc field init shorthand
Jan 16, 2017
c4cd4e1
Wrap 80 columns
phungleson Feb 2, 2017
5c9fdd1
doc comment rewording
king6cong Feb 3, 2017
4ddb56b
Simplify wording & fix test src/doc
phungleson Feb 3, 2017
8579218
Improve error message for uninferrable types #38812
cengiz-io Jan 24, 2017
89ae2ca
Remove extra newlines from expectation files
cengiz-io Jan 24, 2017
7aff6ad
Remove extra note and revert name in message
cengiz-io Jan 25, 2017
3fa28cb
Add a new ui test and update existing ones
cengiz-io Feb 2, 2017
380ba6d
go back to use //
king6cong Feb 6, 2017
78f542b
Rename i686-unknown-netbsdelf target to i686-unknown-netbsd
jakllsch Feb 6, 2017
9ab8090
Delete the `mk` folder
alexcrichton Jan 23, 2017
9b0e6af
Delete swaths of the configure script
alexcrichton Jan 23, 2017
ce4abc3
Delete Travis/AppVeyor makefile builders
alexcrichton Jan 23, 2017
77c3bfa
std: Remove cfg(cargobuild) annotations
alexcrichton Jan 23, 2017
ffd3070
Clean our src/etc of old files
alexcrichton Jan 23, 2017
9ad13c8
rustbuild: Fix a few locations with makefiles gone
alexcrichton Jan 27, 2017
c8e0d04
compiletest: Add caching of test results
alexcrichton Feb 1, 2017
acd84c2
Re-write the doc index page
steveklabnik Feb 6, 2017
b74e668
Change deprecation warning to indicate custom derive support was remo…
JordiPolo Feb 4, 2017
ffea076
add missing comma
gheoan Feb 7, 2017
78dd2ec
review nits
steveklabnik Feb 7, 2017
d037808
Add missing urls for current_dir
GuillaumeGomez Feb 7, 2017
620074d
reference: clarify #[cfg] section
durka Jan 28, 2017
4cde461
Rollup merge of #38764 - Aaronepower:master, r=aturon
frewsxcv Feb 8, 2017
1997791
Rollup merge of #39361 - cengizIO:master, r=arielb1
frewsxcv Feb 8, 2017
1d67bb9
Rollup merge of #39372 - seanmonstar:more-addr-froms, r=alexcrichton
frewsxcv Feb 8, 2017
4c29a19
Rollup merge of #39374 - durka:patch-34, r=steveklabnik
frewsxcv Feb 8, 2017
370b63f
Rollup merge of #39400 - alexcrichton:arm-cross-test, r=brson
frewsxcv Feb 8, 2017
3d8fa5a
Rollup merge of #39426 - jakllsch:netbsd-c, r=alexcrichton
frewsxcv Feb 8, 2017
6fb57bf
Rollup merge of #39431 - alexcrichton:no-more-makefiles, r=brson
frewsxcv Feb 8, 2017
d1f8c44
Rollup merge of #39459 - phungleson:fix-short-hand-struct-doc, r=stev…
frewsxcv Feb 8, 2017
4c5b868
Rollup merge of #39482 - king6cong:master, r=frewsxcv
frewsxcv Feb 8, 2017
1531071
Rollup merge of #39545 - JordiPolo:fix/1_15_released, r=jseyfried
frewsxcv Feb 8, 2017
83595fa
Rollup merge of #39593 - steveklabnik:bookshelf-landing-page, r=frewsxcv
frewsxcv Feb 8, 2017
68872a8
Rollup merge of #39620 - Gheoan:patch-1, r=steveklabnik
frewsxcv Feb 8, 2017
0a815ac
Rollup merge of #39621 - GuillaumeGomez:current_dir_docs, r=steveklabnik
frewsxcv Feb 8, 2017
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add i686-unknown-netbsdelf target
  • Loading branch information
jakllsch committed Jan 31, 2017
commit 6d9f3590c5d7d93d3ba02728e7d4f16f0148812d
1 change: 1 addition & 0 deletions mk/cfg/i686-unknown-netbsdelf.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# rustbuild-only target
30 changes: 30 additions & 0 deletions src/librustc_back/target/i686_unknown_netbsdelf.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
// Copyright 2017 The Rust Project Developers. See the COPYRIGHT
// file at the top-level directory of this distribution and at
// http://rust-lang.org/COPYRIGHT.
//
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
// option. This file may not be copied, modified, or distributed
// except according to those terms.

use target::{Target, TargetResult};

pub fn target() -> TargetResult {
let mut base = super::netbsd_base::opts();
base.cpu = "pentium4".to_string();
base.max_atomic_width = Some(64);
base.pre_link_args.push("-m32".to_string());

Ok(Target {
llvm_target: "i686-unknown-netbsdelf".to_string(),
target_endian: "little".to_string(),
target_pointer_width: "32".to_string(),
data_layout: "e-m:e-p:32:32-f64:32:64-f80:32-n8:16:32-S128".to_string(),
arch: "x86".to_string(),
target_os: "netbsd".to_string(),
target_env: "".to_string(),
target_vendor: "unknown".to_string(),
options: base,
})
}
1 change: 1 addition & 0 deletions src/librustc_back/target/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,7 @@ supported_targets! {
("i686-unknown-openbsd", i686_unknown_openbsd),
("x86_64-unknown-openbsd", x86_64_unknown_openbsd),

("i686-unknown-netbsdelf", i686_unknown_netbsdelf),
("sparc64-unknown-netbsd", sparc64_unknown_netbsd),
("x86_64-unknown-netbsd", x86_64_unknown_netbsd),
("x86_64-rumprun-netbsd", x86_64_rumprun_netbsd),
Expand Down