Logo
Explore Help
Register Sign In
rust-lang/rust
1
0
Fork 0
You've already forked rust
Code Issues Pull Requests Actions 1 Packages Projects Releases Wiki Activity
Files
359bfa901b9d8eddbed7b88b6716dbb77b7bfb95
rust/tests/run-make/rustc-macro-dep-files/bar.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

9 lines
90 B
Rust
Raw Normal View History

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
Powered by Gitea Version: 1.24.6 Page: 1985ms Template: 3ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API