mirror of
https://github.com/cargo-bins/cargo-binstall.git
synced 2025-06-15 15:16:37 +00:00
Fix action.yml
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
This commit is contained in:
parent
5152a5e2fa
commit
4c429fa3f9
1 changed files with 2 additions and 0 deletions
2
.github/actions/just-setup/action.yml
vendored
2
.github/actions/just-setup/action.yml
vendored
|
@ -127,7 +127,9 @@ runs:
|
|||
- name: Enable transparent huge page
|
||||
if: runner.os == 'Linux'
|
||||
run: echo madvise | sudo tee /sys/kernel/mm/transparent_hugepage/enabled
|
||||
shell: bash
|
||||
|
||||
- name: Configure jemalloc (used by rustc) to use transparent huge page
|
||||
if: runner.os == 'Linux'
|
||||
run: echo "MALLOC_CONF=thp:always,metadata_thp:always" >> "$GITHUB_ENV"
|
||||
shell: bash
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue