add our_modules() for log capture filter convenience
Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
parent
94b805de0b
commit
9b9a91f6ef
3 changed files with 10 additions and 3 deletions
|
@ -6,3 +6,6 @@ pub mod rustc;
|
|||
pub mod version;
|
||||
|
||||
pub use conduit_macros::rustc_flags_capture;
|
||||
|
||||
pub const MODULE_ROOT: &str = const_str::split!(std::module_path!(), "::")[0];
|
||||
pub const CRATE_PREFIX: &str = const_str::split!(MODULE_ROOT, '_')[0];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue