Skip to content
This repository has been archived by the owner on Oct 6, 2018. It is now read-only.

Build fails with rust 1.26 #17

Closed
gavofyork opened this issue May 17, 2018 · 1 comment
Closed

Build fails with rust 1.26 #17

gavofyork opened this issue May 17, 2018 · 1 comment

Comments

@gavofyork
Copy link

gavofyork commented May 17, 2018

Not sure what's going on here. Looks as though it's more of an error in the dependencies. Seems pretty systematic though and I haven't seen it isolated in other packages so reporting it here.

➜  ~ cargo install --git https://github.com/alexcrichton/wasm-gc --force
    Updating git repository `https://github.com/alexcrichton/wasm-gc`
  Installing wasm-gc v0.1.1 (https://github.com/alexcrichton/wasm-gc#739af70b)
 Downloading env_logger v0.5.9
 Downloading atty v0.2.9
 Downloading parity-wasm v0.28.0
 Downloading rustc-demangle v0.1.7
   Compiling byteorder v1.2.2
   Compiling cfg-if v0.1.2
   Compiling libc v0.2.40
   Compiling quick-error v1.2.1
   Compiling rustc-demangle v0.1.7
   Compiling termcolor v0.3.6
   Compiling getopts v0.2.17
error: the optimizations s or z are only accepted on the nightly compiler

error: the optimizations s or z are only accepted on the nightly compiler

error: the optimizations s or z are only accepted on the nightly compiler

error: the optimizations s or z are only accepted on the nightly compiler

error: Could not compile `rustc-demangle`.
warning: build failed, waiting for other jobs to finish...
error: Could not compile `byteorder`.
warning: build failed, waiting for other jobs to finish...
error: Could not compile `getopts`.
warning: build failed, waiting for other jobs to finish...
error: the optimizations s or z are only accepted on the nightly compiler

error: Could not compile `termcolor`.
warning: build failed, waiting for other jobs to finish...
error: Could not compile `libc`.
warning: build failed, waiting for other jobs to finish...
error: the optimizations s or z are only accepted on the nightly compiler

error: the optimizations s or z are only accepted on the nightly compiler

error: Could not compile `quick-error`.
warning: build failed, waiting for other jobs to finish...
error: failed to compile `wasm-gc v0.1.1 (https://github.com/alexcrichton/wasm-gc#739af70b)`, intermediate artifacts can be found at `/var/folders/zh/hhsvbygd6kz4mw74zl_y71dr0000gn/T/cargo-installryPpfi`

Caused by:
  Could not compile `cfg-if`.

To learn more, run the command again with --verbose.
@gavofyork
Copy link
Author

Apparently it's just missing +nightly. Closing.

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

No branches or pull requests

1 participant