Skip to content

Commit face14a

Browse files
authored
fix: rspack should run cargo codegen (#123)
1 parent b7d2f84 commit face14a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

scripts/src/runners/binary-size.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ import { statSync } from 'fs';
66
export const getBinarySize = async () => {
77
const repoPath = getRepoPath(getRepoName('RSPACK'));
88

9+
await runCommand(repoPath, 'cargo codegen');
910
await runCommand(repoPath, 'pnpm run build:binding:release');
1011

1112
const binaryPath = glob.sync(

0 commit comments

Comments
 (0)