1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-08-02 05:57:46 +00:00

new plugin attribute syntax

This commit is contained in:
Michael Gehring 2015-02-12 22:43:25 +01:00
parent c8607e79ff
commit e78900e56a
2 changed files with 2 additions and 2 deletions

View file

@ -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;

View file

@ -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;