We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c94b3a9 commit ab615e9Copy full SHA for ab615e9
capstone-sys/build.rs
@@ -198,7 +198,7 @@ fn impl_insid_to_insenum(bindings: &str) -> String {
198
let arch = cs_arch.cs_name();
199
200
// find architecture instructions enum declaration
201
- let re_enum_def = Regex::new(&format!("pub enum {}_insn (?s)\\{{.*?\\}}", arch))
+ let re_enum_def = Regex::new(&format!("pub enum {arch}_insn (?s)\\{{.*?\\}}"))
202
.expect("Unable to compile regex");
203
let cap_enum_def = &re_enum_def
204
.captures(bindings)
0 commit comments