Version set to v0.2.5
All checks were successful
/ test (push) Successful in 39s

This commit is contained in:
Paul Campbell 2024-05-17 06:56:50 +01:00
parent d15458ca51
commit e684533f8e
2 changed files with 9 additions and 10 deletions

View file

@ -6,16 +6,16 @@ jobs:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- name: Test - name: Test
uses: https://git.kemitix.net/kemitix/rust@v0.2.4 uses: https://git.kemitix.net/kemitix/rust@v0.2.5
with: with:
args: test args: test
- name: Build - name: Build
uses: https://git.kemitix.net/kemitix/rust@v0.2.4 uses: https://git.kemitix.net/kemitix/rust@v0.2.5
with: with:
args: build args: build
- name: Run - name: Run
uses: https://git.kemitix.net/kemitix/rust@v0.2.4 uses: https://git.kemitix.net/kemitix/rust@v0.2.5
with: with:
args: run args: run

View file

@ -12,13 +12,12 @@ jobs:
test: test:
runs-on: docker runs-on: docker
steps: steps:
- uses: https://git.kemitix.net/kemitix/rust@main - uses: https://git.kemitix.net/kemitix/rust@v0.2.5
with: with:
args: test args: test
- uses: https://git.kemitix.net/kemitix/rust@main - uses: https://git.kemitix.net/kemitix/rust@v0.2.5
with: with:
args: build args: build
``` ```
## Contents ## Contents
@ -35,8 +34,8 @@ jobs:
To take advantage of the clang and mold packages, add the following to the `.cargo/config.toml` file in your project. To take advantage of the clang and mold packages, add the following to the `.cargo/config.toml` file in your project.
```toml ```toml
[target.x86_64-unknown-linux-gnu] [target.x86_64-unknown-linux-gnu]
linker = "/usr/bin/clang-16" linker = "/usr/bin/clang-16"
rustflags = ["-C", "link-arg=--ld-path=/usr/bin/mold"] rustflags = ["-C", "link-arg=--ld-path=/usr/bin/mold"]
``` ```
@ -45,7 +44,7 @@ rustflags = ["-C", "link-arg=--ld-path=/usr/bin/mold"]
To reduce the size of the debug binary, add the following to the `.cargo/config.toml` file in you project. To reduce the size of the debug binary, add the following to the `.cargo/config.toml` file in you project.
```toml ```toml
[profile.dev] [profile.dev]
debug = 0 debug = 0
strip = "debuginfo" strip = "debuginfo"
``` ```