Skip to content

Regresion in rustls-0.5.7, Rust 1.17 #40963

Closed
@brson

Description

@brson

https://github.com/ctz/rustls

130 brian@ip-10-145-43-250:~/dev/rustls⟫ git log -1
commit b149eb78187b97f057e3ee1aade6be67bf093229
Author: Joseph Birr-Pixton <[email protected]>
Date:   Mon Feb 27 19:30:00 2017 +0000

    0.5.7

brian@ip-10-145-43-250:/mnt2/dev⟫ rustc +nightly -Vv
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

brian@ip-10-145-43-250:~/dev/rustls⟫ cargo +nightly test
   Compiling rustls v0.5.7 (file:///mnt2/dev/rustls)
error: The attribute `export_macro` is currently unknown to the compiler and may have meaning added to it in the future (see issue #29642)
 --> src/msgs/macros.rs:3:1
  |
3 | #[export_macro]
  | ^^^^^^^^^^^^^^^
  |
  = help: add #![feature(custom_attribute)] to the crate attributes to enable

error: aborting due to previous error

error: Could not compile `rustls`.
Build failed, waiting for other jobs to finish...
error: The attribute `export_macro` is currently unknown to the compiler and may have meaning added to it in the future (see issue #29642)
 --> src/msgs/macros.rs:3:1
  |
3 | #[export_macro]
  | ^^^^^^^^^^^^^^^
  |
  = help: add #![feature(custom_attribute)] to the crate attributes to enable

error: aborting due to previous error

error: build failed

cc @cristicbz

Metadata

Metadata

Assignees

Labels

T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.regression-from-stable-to-betaPerformance or correctness regression from stable to beta.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions