#rustlang folk: using Rust edition 2018 why do I have to still use:
#[macro_use]
extern crate nix
instead of saying:
use nix::sys::ioctl::{ioctl_read, ioctl_readwrite, ioctl_write_buf};
-
-
Replying to @russel_winder @rustlang
May be wrong but I think this happens because macro you call needs other internal macros to be in path. Using the old style statement works because it makes all public macros form that crate visible
2 replies 0 retweets 2 likes
Replying to @mygnu_ @russel_winder
This is quite possible!
8:15 AM - 14 Jun 2019
0 replies
0 retweets
0 likes
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.