-
-
Notifications
You must be signed in to change notification settings - Fork 770
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move extern crate proc_macro into each possible lib.rs
This makes it slightly more convenient to use the following as a Reindeer fixup for those that prefer to build from source: extra_mapped_srcs = { "src/lib_from_source.rs" = "src/lib.rs" } [platform_fixups.'cfg(all(target_arch = "x86_64", target_os = "linux", target_env = "gnu"))'] extra_deps = [":proc-macro2", ":quote", ":syn"] as opposed to checking in a whole new file containing the `extern crate proc_macro` + `include!("lib_from_source.rs")`.
- Loading branch information
Showing
3 changed files
with
3 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
extern crate proc_macro; | ||
|
||
mod buffer; | ||
mod bytecode; | ||
|
||
|