File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed
Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change 2929 ~/.cargo/registry
3030 ~/.cargo/git
3131 target
32- key : ${{ runner.os }}-debug-${{ hashFiles('Cargo.lock') }}
32+ key : ${{ runner.os }}-debug-opt3- ${{ hashFiles('Cargo.lock') }}
3333 - name : run rust tests
3434 uses : actions-rs/cargo@v1
3535 with :
@@ -135,8 +135,8 @@ jobs:
135135 target
136136 key : ${{ runner.os }}-wasm-${{ hashFiles('**/Cargo.lock') }}
137137 restore-keys : |
138- ${{ runner.os }}-debug-${{ hashFiles('Cargo.lock') }}
139- ${{ runner.os }}-debug-
138+ ${{ runner.os }}-debug-opt3- ${{ hashFiles('Cargo.lock') }}
139+ ${{ runner.os }}-debug-opt3
140140 - name : install wasm-pack
141141 run : curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh
142142 - name : install geckodriver
Original file line number Diff line number Diff line change @@ -45,6 +45,9 @@ version = "0.2"
4545name = " rustpython"
4646path = " src/main.rs"
4747
48+ [profile .dev .package ."*" ]
49+ opt-level = 3
50+
4851[patch .crates-io ]
4952# REDOX START, Uncommment when you want to compile/check with redoxer
5053# # following patches are just waiting on a new version to be released to crates.io
You can’t perform that action at this time.
0 commit comments