Skip to content

Commit

Permalink
Add js for disabling and renaming support for demo_gen
Browse files Browse the repository at this point in the history
  • Loading branch information
ambiguousname committed Jul 19, 2024
1 parent f415155 commit 5188311
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tool/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,10 @@ pub fn gen(
"cpp" => cpp::attr_support(),
"dart" => dart::attr_support(),
"js" => js::attr_support(),
"demo_gen" => demo_gen::attr_support(),
"demo_gen" => {
attr_validator.other_backend_names = vec!["js".to_string()];
demo_gen::attr_support()
},
"kotlin" => kotlin::attr_support(),
o => panic!("Unknown target: {}", o),
};
Expand Down

0 comments on commit 5188311

Please sign in to comment.