Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
17 lines (12 sloc) 254 Bytes
// build-pass (FIXME(62277): could be check-pass?)
// compile-flags:--cfg my_feature
#![no_std]
#[cfg(my_feature)]
extern crate std;
mod m {
#[cfg(my_feature)]
fn conditional() {
std::vec::Vec::<u8>::new(); // OK
}
}
fn main() {}
You can’t perform that action at this time.