Skip to content

Commit

Permalink
Optimize cargo-generate rules in native-simulator lib.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
joii2020 committed Sep 24, 2024
1 parent d81d8d0 commit a0a0d4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion native-simulator/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1 +1 @@
ckb_std::entry_simulator!({{project-name | remove: "-sim" | replace: "-", "_"}}::program_entry);
ckb_std::entry_simulator!({{project-name | append: "@@SIMULATOR_PLACEHOLDER@@" | remove: "-sim@@SIMULATOR_PLACEHOLDER@@" | replace: "-", "_"}}::program_entry);

0 comments on commit a0a0d4e

Please sign in to comment.