This website requires JavaScript.
Explore
Help
Register
Sign In
mikros
/
rust
Watch
1
Star
0
Fork
0
You've already forked rust
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
rust
/
tests
/
run-make
/
rustc-macro-dep-files
/
bar.rs
9 lines
90 B
Rust
Raw
Normal View
History
Unescape
Escape
tests: use a #![no_std] target crate in run-make/rustc-macro-dep-files.
2018-11-26 04:07:55 +02:00
#![
no_std
]
#![
crate_type =
"
lib
"
]
rustc: Use a special filename for macros 1.1 This "special filename" is surrounded by `<>` to ensure that `FileMap::is_real_file` returns `false`. This way the "files" parsed here aren't emitted as dep info `.d` files and don't confuse Cargo about non-existent files. Closes #36625
2016-09-27 11:19:03 -07:00
#[
macro_use
]
extern
crate
foo
;
#[
derive(A)
]
struct
A
;
Reference in New Issue
Copy Permalink