Skip to content

Commit a0a0d4e

Browse files
committed
Optimize cargo-generate rules in native-simulator lib.rs
1 parent d81d8d0 commit a0a0d4e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

native-simulator/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
ckb_std::entry_simulator!({{project-name | remove: "-sim" | replace: "-", "_"}}::program_entry);
1+
ckb_std::entry_simulator!({{project-name | append: "@@SIMULATOR_PLACEHOLDER@@" | remove: "-sim@@SIMULATOR_PLACEHOLDER@@" | replace: "-", "_"}}::program_entry);

0 commit comments

Comments
 (0)