Skip to content
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

Allow disabling LLVM assertions in rustc (fixes #15548) #15559

Merged
merged 2 commits into from Feb 15, 2017
Merged
Changes from 1 commit
Commits
File filter...
Filter file types
Jump to…
Jump to file
Failed to load files.

Always

Just for now

Next

Switch to commit-specific nightlies

  • Loading branch information
nox authored and SimonSapin committed Feb 15, 2017
commit 336e6c8f286be636a105af858cac18b4d42c1b12
@@ -149,7 +149,7 @@ Servo's build system automatically downloads a Rust compiler to build itself.
This is normally a specific revision of Rust upstream, but sometimes has a
backported patch or two.
If you'd like to know which nightly build of Rust we use, see
[`rust-nightly-date`](https://github.com/servo/servo/blob/master/rust-nightly-date).
[`rust-commit-hash`](https://github.com/servo/servo/blob/master/rust-commit-hash).

## Building

@@ -37,8 +37,8 @@ branches:
- master

cache:
- .servo -> rust-nightly-date, cargo-commit-hash
- .cargo -> rust-nightly-date, cargo-commit-hash
- .servo -> rust-commit-hash, cargo-commit-hash
- .cargo -> rust-commit-hash, cargo-commit-hash
- .ccache

install:
@@ -86,9 +86,10 @@ def bootstrap_rustc(self, force=False, target=[], stable=False):
# in that directory).
if stable:
tarball = "rustc-%s-%s.tar.gz" % (version, host_triple())
rustc_url = "https://static-rust-lang-org.s3.amazonaws.com/dist/" + tarball
else:
tarball = "%s/rustc-nightly-%s.tar.gz" % (version, host_triple())
rustc_url = "https://static-rust-lang-org.s3.amazonaws.com/dist/" + tarball
rustc_url = "https://s3.amazonaws.com/rust-lang-ci/rustc-builds/" + tarball
tgz_file = rust_dir + '-rustc.tar.gz'

download_file("Rust compiler", rustc_url, tgz_file)
@@ -126,7 +127,7 @@ def bootstrap_rustc(self, force=False, target=[], stable=False):
% (version, target_triple))
tgz_file = install_dir + ('rust-std-%s-%s.tar.gz' % (version, target_triple))
else:
std_url = ("https://static-rust-lang-org.s3.amazonaws.com/dist/%s/rust-std-nightly-%s.tar.gz"
std_url = ("https://s3.amazonaws.com/rust-lang-ci/rustc-builds/%s/rust-std-nightly-%s.tar.gz"
% (version, target_triple))
tgz_file = install_dir + ('rust-std-nightly-%s.tar.gz' % target_triple)

@@ -303,7 +303,7 @@ def rust_path(self):
def rust_version(self):
if self._rust_version is None or self._use_stable_rust != self._rust_version_is_stable:
filename = path.join(self.context.topdir,
"rust-stable-version" if self._use_stable_rust else "rust-nightly-date")
"rust-stable-version" if self._use_stable_rust else "rust-commit-hash")
with open(filename) as f:
self._rust_version = f.read().strip()
return self._rust_version
@@ -0,0 +1 @@
025c328bf5ab336ff708e62a59292298dc1bc089

This file was deleted.

@@ -13,7 +13,7 @@ use script::test::Node;

struct Foo {
bar: DOMRefCell<JS<Node>>
//~^ ERROR Banned type DOMRefCell<JS<T>> detected. Use MutJS<JS<T>> instead,
//~^ ERROR Banned type DOMRefCell<JS<T>> detected. Use MutJS<JS<T>> instead
}

fn main() {}
@@ -12,7 +12,7 @@ use std::cell::Cell;

struct Foo {
bar: Cell<JSVal>
//~^ ERROR Banned type Cell<JSVal> detected. Use MutJS<JSVal> instead,
//~^ ERROR Banned type Cell<JSVal> detected. Use MutJS<JSVal> instead
}

fn main() {}
@@ -8,7 +8,7 @@
extern crate deny_public_fields;

#[derive(DenyPublicFields)]
//~^ ERROR custom derive attribute panicked
//~^ ERROR proc-macro derive panicked
struct Foo {
pub v1: i32,
v2: i32
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.