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

i128 is being stabilized #235

Merged
merged 2 commits into from
Mar 19, 2018
Merged

i128 is being stabilized #235

merged 2 commits into from
Mar 19, 2018

Conversation

mark-i-m
Copy link
Member

@@ -12,7 +12,6 @@
#![feature(compiler_builtins)]
#![feature(core_intrinsics)]
#![feature(naked_functions)]
#![feature(i128_type)]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You'd most likely have to do #[cfg_attr(stage0, feature(i128_type))] here, as on stage0 it is still needed.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm... It seemed to work fine when I made this change locally?

@alexcrichton
Copy link
Member

Thanks! I think it's ok if this is here, right? Does this fail the build?

@alexcrichton
Copy link
Member

(in that I'd prefer to land the rustc change first and then land the change here after that's gone through)

@PlasmaPower
Copy link

It's sort of a deadlock. Rustc fails without this, but this fails without rustc.

@alexcrichton
Copy link
Member

The "failure" I think is deny(warnings), right? Can that be removed?

@PlasmaPower
Copy link

Yeah I think that's the best solution. If we want we can re-add if after the rustc change goes through.

@mark-i-m
Copy link
Member Author

Moving the feature(i128_type) after allow(unused_features) seems to make the compiler build for me locally.

@kennytm
Copy link
Member

kennytm commented Mar 18, 2018

We could use the old external tool update workflow here:

  1. Push this PR into a new, non-master branch on this repository
  2. Update the submodule in E0263 needs to be updated to new format rust#35518 to point to that new branch
  3. Wait for E0263 needs to be updated to new format rust#35518 to merge and a new nightly is released
  4. Merge this PR

@PlasmaPower
Copy link

That's what I originally suggested in the rustc PR but just ignoring the warning temporarily seems easier.

@mark-i-m
Copy link
Member Author

Umm... does anyone understand the current Travis failure:

thread 'rustc' panicked at 'slice index starts at 4294967295 but ends at 30759529', libcore/slice/mod.rs:791:5
note: Run with `RUST_BACKTRACE=1` for a backtrace.
error: internal compiler error: unexpected panic
note: the compiler unexpectedly panicked. this is a bug.
note: we would appreciate a bug report: /~https://github.com/rust-lang/rust/blob/master/CONTRIBUTING.md#bug-reports
note: rustc 1.26.0-nightly (adf2135ad 2018-03-17) running on x86_64-apple-darwin

@mark-i-m
Copy link
Member Author

It looks like the current change in the PR might be sufficient if we fix the build failures... alternately, I could do @kennytm's suggestion. Just let me know :)

@alexcrichton
Copy link
Member

Ok this strategy seems fine by me yeah

@alexcrichton alexcrichton merged commit 34f5d4a into rust-lang:master Mar 19, 2018
@mark-i-m
Copy link
Member Author

Hmm... this doesn't seem to have worked... I don't understand why.

@@ -12,12 +12,12 @@
#![feature(compiler_builtins)]
#![feature(core_intrinsics)]
#![feature(naked_functions)]
#![feature(i128_type)]
#![feature(repr_simd)]
#![feature(abi_unadjusted)]
#![feature(linkage)]
#![feature(lang_items)]
#![allow(unused_features)]

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh this is #![allow(unused_features)], but you need #[allow(stable_features)].

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants