Skip to content

Rust 1.18 regression - sgx-isa 0.1.2 #40962

Closed
@alexcrichton

Description

@alexcrichton
[code/sgx-utils/sgx-isa[master]] $ CARGO_TARGET_DIR=nightly cargo +nightly build                              [alex@acrichton-desktop]
   Compiling sgx-isa v0.1.2 (file:///home/alex/code/sgx-utils/sgx-isa)
error: expected identifier, found `Clone`
  --> src/lib.rs:36:14
   |
36 |            #[derive($($derive),*)]
   |                       ^^^^^^^
...
65 | enum_def! {
   | -  in this macro invocation

error: expected identifier, found `Clone`
   --> src/lib.rs:36:14
    |
36  |           #[derive($($derive),*)]
    |                      ^^^^^^^
...
88  | enum_def! {
    | - in this macro invocation

error: expected identifier, found `Clone`
   --> src/lib.rs:36:14
    |
36  |           #[derive($($derive),*)]
    |                      ^^^^^^^
...
103 | enum_def! {
    | - in this macro invocation

error: expected identifier, found `Clone`
   --> src/lib.rs:36:14
    |
36  |           #[derive($($derive),*)]
    |                      ^^^^^^^
...
143 | enum_def! {
    | - in this macro invocation

error: expected identifier, found `Clone`
   --> src/lib.rs:36:14
    |
36  |           #[derive($($derive),*)]
    |                      ^^^^^^^
...
155 | enum_def! {
    | - in this macro invocation

error: aborting due to 5 previous errors

error: Could not compile `sgx-isa`.

To learn more, run the command again with --verbose.
[code/sgx-utils/sgx-isa[master]] $ rustc +nightly -vV                                                                                                                                                                                                  [alex@acrichton-desktop]
rustc 1.18.0-nightly (5c94997b6 2017-03-30)
binary: rustc
commit-hash: 5c94997b6b1cca3e65ecfc5ba40c033d6838019b
commit-date: 2017-03-30
host: x86_64-unknown-linux-gnu
release: 1.18.0-nightly
LLVM version: 3.9
[code/sgx-utils/sgx-isa[master]] $ git log -1                                                                                                                                                                                                          [alex@acrichton-desktop]
commit 1575f9e3b4f2d241267c28fda7a0151b59be48cf
Author: Jethro Beekman <[email protected]>
Date:   Sat Nov 5 16:32:50 2016 -0700

    Bump versions

https://github.com/jethrogb/sgx-utils/tree/master/sgx-isa

cc @jethrogb

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions