File tree Expand file tree Collapse file tree 2 files changed +17
-0
lines changed Expand file tree Collapse file tree 2 files changed +17
-0
lines changed Original file line number Diff line number Diff line change @@ -177,6 +177,12 @@ mod bindings;
177
177
#[ macro_use]
178
178
extern crate lazy_static;
179
179
180
+ // The `raw` module comes first so that it can provide macros during parsing of
181
+ // other modules. It is not yet part of the crate's public API, but in the
182
+ // spirit of *-sys modules exposing lowest-level bindings, it may someday be so.
183
+ #[ macro_use]
184
+ pub ( crate ) mod raw;
185
+
180
186
pub mod jit;
181
187
pub use jit:: Jit ;
182
188
Original file line number Diff line number Diff line change
1
+ macro_rules! jit_entry {
2
+ ( $entry: ident( $( $inarg: ident ) ,* )
3
+ => $stem: ident
4
+ => [ $( $suffix: ident ) ,* ]
5
+ => $invokes: ident( $enum: ident $( , $outarg: ident ) * )
6
+ ) => {
7
+ fn $entry( ) { }
8
+ }
9
+ }
10
+
11
+ include ! ( concat!( env!( "OUT_DIR" ) , "/entries.rs" ) ) ;
You can’t perform that action at this time.
0 commit comments