-
Notifications
You must be signed in to change notification settings - Fork 13.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
rustc: Don't link in syntax extensions
This bug was introduced in #13384 by accident, and this commit continues the work of #13384 by finishing support for loading a syntax extension crate without registering it with the local cstore. Closes #13495
- Loading branch information
1 parent
7240fad
commit e163ab2
Showing
10 changed files
with
53 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
-include ../tools.mk | ||
|
||
all: | ||
$(RUSTC) lib.rs | ||
$(RUSTC) main.rs -Z lto | ||
$(call RUN,main) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
// Copyright 2014 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. | ||
|
||
#[crate_type = "rlib"]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
// Copyright 2014 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. | ||
|
||
#![feature(phase)] | ||
|
||
extern crate lib; | ||
#[phase(syntax)] extern crate fourcc; | ||
|
||
fn main() { | ||
fourcc!("1234"); | ||
} |
e163ab2
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
saw approval from sfackler
at alexcrichton@e163ab2
e163ab2
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
merging alexcrichton/rust/issue-13495 = e163ab2 into auto
e163ab2
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
alexcrichton/rust/issue-13495 = e163ab2 merged ok, testing candidate = 38b80204
e163ab2
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
some tests failed:
failure: http://buildbot.rust-lang.org/builders/auto-win-32-opt/builds/5328
exception: http://buildbot.rust-lang.org/builders/auto-mac-32-opt/builds/5231
exception: http://buildbot.rust-lang.org/builders/auto-mac-64-opt/builds/5228
exception: http://buildbot.rust-lang.org/builders/auto-mac-64-nopt-c/builds/4321
exception: http://buildbot.rust-lang.org/builders/auto-mac-64-nopt-t/builds/4334
exception: http://buildbot.rust-lang.org/builders/auto-linux-32-opt/builds/5330
exception: http://buildbot.rust-lang.org/builders/auto-linux-32-nopt-c/builds/4417
exception: http://buildbot.rust-lang.org/builders/auto-linux-32-nopt-t/builds/4425
exception: http://buildbot.rust-lang.org/builders/auto-linux-64-opt/builds/5332
exception: http://buildbot.rust-lang.org/builders/auto-linux-64-nopt-c/builds/4417
exception: http://buildbot.rust-lang.org/builders/auto-linux-64-nopt-t/builds/4422
exception: http://buildbot.rust-lang.org/builders/auto-linux-64-x-android-t/builds/2217
exception: http://buildbot.rust-lang.org/builders/auto-win-32-nopt-c/builds/4424
exception: http://buildbot.rust-lang.org/builders/auto-win-32-nopt-t/builds/4437
e163ab2
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
saw approval from sfackler
at alexcrichton@e163ab2
e163ab2
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
merging alexcrichton/rust/issue-13495 = e163ab2 into auto
e163ab2
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
alexcrichton/rust/issue-13495 = e163ab2 merged ok, testing candidate = 0e6cfd1c
e163ab2
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
some tests failed:
failure: http://buildbot.rust-lang.org/builders/auto-win-32-nopt-t/builds/4447
exception: http://buildbot.rust-lang.org/builders/auto-mac-32-opt/builds/5242
exception: http://buildbot.rust-lang.org/builders/auto-mac-64-nopt-t/builds/4344
exception: http://buildbot.rust-lang.org/builders/auto-linux-32-opt/builds/5340
exception: http://buildbot.rust-lang.org/builders/auto-linux-32-nopt-t/builds/4435
exception: http://buildbot.rust-lang.org/builders/auto-linux-64-opt/builds/5342
e163ab2
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
saw approval from sfackler
at alexcrichton@e163ab2
e163ab2
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
merging alexcrichton/rust/issue-13495 = e163ab2 into auto
e163ab2
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
alexcrichton/rust/issue-13495 = e163ab2 merged ok, testing candidate = 168b2d1
e163ab2
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
all tests pass:
success: http://buildbot.rust-lang.org/builders/auto-mac-32-opt/builds/5243
success: http://buildbot.rust-lang.org/builders/auto-mac-64-opt/builds/5239
success: http://buildbot.rust-lang.org/builders/auto-mac-64-nopt-c/builds/4332
success: http://buildbot.rust-lang.org/builders/auto-mac-64-nopt-t/builds/4345
success: http://buildbot.rust-lang.org/builders/auto-linux-32-opt/builds/5341
success: http://buildbot.rust-lang.org/builders/auto-linux-32-nopt-c/builds/4428
success: http://buildbot.rust-lang.org/builders/auto-linux-32-nopt-t/builds/4436
success: http://buildbot.rust-lang.org/builders/auto-linux-64-opt/builds/5343
success: http://buildbot.rust-lang.org/builders/auto-linux-64-nopt-c/builds/4428
success: http://buildbot.rust-lang.org/builders/auto-linux-64-nopt-t/builds/4433
success: http://buildbot.rust-lang.org/builders/auto-linux-64-x-android/builds/4498
success: http://buildbot.rust-lang.org/builders/auto-linux-64-x-android-t/builds/2228
success: http://buildbot.rust-lang.org/builders/auto-win-32-opt/builds/5339
success: http://buildbot.rust-lang.org/builders/auto-win-32-nopt-c/builds/4435
success: http://buildbot.rust-lang.org/builders/auto-win-32-nopt-t/builds/4448
e163ab2
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fast-forwarding master to auto = 168b2d1