Skip to content

Commit

Permalink
Auto merge of #33184 - tamird:misc-cleanup, r=alexcrichton
Browse files Browse the repository at this point in the history
librustc_back: misc cleanup

r? @alexcrichton
  • Loading branch information
bors committed Apr 25, 2016
2 parents 253b7c1 + 847d195 commit cfae4de
Show file tree
Hide file tree
Showing 8 changed files with 2 additions and 8 deletions.
3 changes: 1 addition & 2 deletions src/librustc_back/target/apple_base.rs
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,8 @@ pub fn opts() -> TargetOptions {
}).unwrap_or((10, 7));

TargetOptions {
// OSX has -dead_strip, which doesn't rely on ffunction_sections
// OSX has -dead_strip, which doesn't rely on function_sections
function_sections: false,
linker: "cc".to_string(),
dynamic_linking: true,
executables: true,
is_like_osx: true,
Expand Down
1 change: 0 additions & 1 deletion src/librustc_back/target/bitrig_base.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ use std::default::Default;

pub fn opts() -> TargetOptions {
TargetOptions {
linker: "cc".to_string(),
dynamic_linking: true,
executables: true,
linker_is_gnu: true,
Expand Down
1 change: 0 additions & 1 deletion src/librustc_back/target/dragonfly_base.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ use std::default::Default;

pub fn opts() -> TargetOptions {
TargetOptions {
linker: "cc".to_string(),
dynamic_linking: true,
executables: true,
linker_is_gnu: true,
Expand Down
1 change: 0 additions & 1 deletion src/librustc_back/target/freebsd_base.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ use std::default::Default;

pub fn opts() -> TargetOptions {
TargetOptions {
linker: "cc".to_string(),
dynamic_linking: true,
executables: true,
linker_is_gnu: true,
Expand Down
1 change: 0 additions & 1 deletion src/librustc_back/target/netbsd_base.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ use std::default::Default;

pub fn opts() -> TargetOptions {
TargetOptions {
linker: "cc".to_string(),
dynamic_linking: true,
executables: true,
linker_is_gnu: true,
Expand Down
1 change: 0 additions & 1 deletion src/librustc_back/target/openbsd_base.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ use std::default::Default;

pub fn opts() -> TargetOptions {
TargetOptions {
linker: "cc".to_string(),
dynamic_linking: true,
executables: true,
linker_is_gnu: true,
Expand Down
1 change: 0 additions & 1 deletion src/librustc_back/target/solaris_base.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ use std::default::Default;

pub fn opts() -> TargetOptions {
TargetOptions {
linker: "cc".to_string(),
dynamic_linking: true,
executables: true,
has_rpath: true,
Expand Down
1 change: 1 addition & 0 deletions src/rustc/Cargo.lock

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

0 comments on commit cfae4de

Please sign in to comment.