mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-08-01 21:47:46 +00:00
new plugin attribute syntax
This commit is contained in:
parent
c8607e79ff
commit
e78900e56a
2 changed files with 2 additions and 2 deletions
|
@ -12,11 +12,11 @@
|
|||
|
||||
#![allow(unused_variables)] // only necessary while the TODOs still exist
|
||||
#![feature(plugin)]
|
||||
#![plugin(regex_macros)]
|
||||
|
||||
extern crate getopts;
|
||||
extern crate libc;
|
||||
extern crate regex;
|
||||
#[plugin] #[no_link] extern crate regex_macros;
|
||||
|
||||
use std::ffi::CString;
|
||||
use std::old_io::fs;
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
#![crate_name = "nl"]
|
||||
#![feature(collections, core, io, path, rustc_private)]
|
||||
#![plugin(regex_macros)]
|
||||
|
||||
/*
|
||||
* This file is part of the uutils coreutils package.
|
||||
|
@ -12,7 +13,6 @@
|
|||
*/
|
||||
#![feature(plugin)]
|
||||
|
||||
#[plugin] #[no_link] extern crate regex_macros;
|
||||
extern crate regex;
|
||||
extern crate getopts;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue