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]