Skip to content

Commit df477f0

Browse files
committed
fix duplicate lang item error in size-cmp workflow
1 parent 310423e commit df477f0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/size-cmp.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232

3333
- name: Write Optimisation Flags
3434
run: |
35-
echo 'build-std = ["std", "panic_abort"]' >> .cargo/config.toml
35+
echo 'build-std = ["std", "panic_abort", "alloc"]' >> .cargo/config.toml
3636
echo 'build-std-features = ["panic_immediate_abort"]' >> .cargo/config.toml
3737
echo '[build]' >> .cargo/config.toml
3838
echo 'rustflags = ["-Cpanic=abort"]' >> .cargo/config.toml

0 commit comments

Comments
 (0)