From 739f9dc8aec4263d57ba4a5f534f23a49c62d056 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=9A=D0=BE=D1=82=D0=BB=D1=8F=D1=80=D0=BE=D0=B2=20=D0=94?= =?UTF-8?q?=D0=B5=D0=BD=D0=B8=D1=81?= Date: Thu, 22 Aug 2019 16:20:36 +0300 Subject: [PATCH] 1. Fixed "https://github.com/rust-lang/rust/pull/62727" 2. Up version. --- .gitignore | 0 .travis.yml | 0 Cargo.toml | 2 +- LICENSE | 0 README.md | 0 examples/panic.rs | 0 examples/use.rs | 0 src/lib.rs | 9 +++------ src/nightly.rs | 3 +-- 9 files changed, 5 insertions(+), 9 deletions(-) mode change 100755 => 100644 .gitignore mode change 100755 => 100644 .travis.yml mode change 100755 => 100644 Cargo.toml mode change 100755 => 100644 LICENSE mode change 100755 => 100644 README.md mode change 100755 => 100644 examples/panic.rs mode change 100755 => 100644 examples/use.rs mode change 100755 => 100644 src/lib.rs mode change 100755 => 100644 src/nightly.rs diff --git a/.gitignore b/.gitignore old mode 100755 new mode 100644 diff --git a/.travis.yml b/.travis.yml old mode 100755 new mode 100644 diff --git a/Cargo.toml b/Cargo.toml old mode 100755 new mode 100644 index 2208e51..d4d728c --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "clucstr" -version = "1.1.9" +version = "1.1.91" authors = ["Denis Kotlyarov (Денис Котляров) "] repository = "https://github.com/clucompany/cluCStr.git" edition = "2018" diff --git a/LICENSE b/LICENSE old mode 100755 new mode 100644 diff --git a/README.md b/README.md old mode 100755 new mode 100644 diff --git a/examples/panic.rs b/examples/panic.rs old mode 100755 new mode 100644 diff --git a/examples/use.rs b/examples/use.rs old mode 100755 new mode 100644 diff --git a/src/lib.rs b/src/lib.rs old mode 100755 new mode 100644 index 754216d..77d3678 --- a/src/lib.rs +++ b/src/lib.rs @@ -191,15 +191,12 @@ Copyright 2019 #UlinProject Denis Kotlyarov (Денис Котляров) Licensed under the Apache License, Version 2.0 */ -#![feature(test)] -#![feature(plugin_registrar)] -#![feature(rustc_private)] +#![crate_type="dylib"] +#![feature(plugin_registrar, rustc_private)] extern crate syntax; -extern crate rustc; -extern crate rustc_plugin; - +extern crate rustc_driver; mod nightly; pub use self::nightly::*; diff --git a/src/nightly.rs b/src/nightly.rs old mode 100755 new mode 100644 index b52af74..ac4dc1c --- a/src/nightly.rs +++ b/src/nightly.rs @@ -2,7 +2,6 @@ use syntax::source_map::Span; use syntax::tokenstream::TokenTree; use syntax::ext::base::{ExtCtxt, MacResult, DummyResult, MacEager}; -use rustc_plugin::Registry; use syntax::ast::ExprKind; use syntax::ast::LitKind; use syntax::ast::Mutability; @@ -17,7 +16,7 @@ use syntax::ptr::P; use syntax::ast; use syntax::ast::IntTy; use syntax::parse::token::TokenKind; - +use rustc_driver::plugin::Registry; #[doc(hidden)] #[plugin_registrar]