-
-
Notifications
You must be signed in to change notification settings - Fork 788
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
Updating to v1.0.62 cause to error "128-bit type is unstable" #1291
Comments
Those types are definitely stable in 1.28.0-nightly. They were stabilized back in 1.26.0. Announcement: https://blog.rust-lang.org/2018/05/10/Rust-1.26.html#128-bit-integers. Could you double check what compiler version you are building with? |
Usually I compiled to release wasm target which using nightly version. Compiled with verbose: process didn't exit successfully: `rustc --crate-name serde <user>/.cargo/registry/src/github.com-
1ecc6299db9ec823/serde-1.0.62/src/lib.rs --color always --error-format json
--crate-type lib
--emit=dep-info,link -C opt-level=s
--cfg feature="default"
--cfg feature="std" -C
metadata=e72b63623fc9ecc3
-C extra-filename=-e72b63623fc9ecc3
--out-dir <path-to-project>/target/release/deps -L
dependency=<path-to-project>/target/release/deps --cap-lints allow
--cfg de_boxed_c_str
--cfg de_rc_dst
--cfg integer128` (exit code: 101) |
A nightly from 2018-03-04 is quite old. The expectation when using nightlies is that you update the compiler every night. Rarely do crates support old nightlies. Can you give it a try with the most recent nightly? |
They were stabilized on March 27th: rust-lang/rust#49101 (comment). |
@dtolnay Hmm, It pretty strange:
But command
In other directories I got Sorry for may be stupid questions. I'm not advanced user of rust and its toolchain |
I would recommend hopping into the #rust IRC channel on irc.mozilla.org and asking for help removing the old nightly. They are pretty good at sorting this stuff out. |
Thanks! 👍 |
Ok, I find out by myself how this repair. Solution: |
Compiler: 1.28.0-nightly (990d8aa74 2018-05-25)
That happening with any package which depend on serde.
The text was updated successfully, but these errors were encountered: