This commit is contained in:
parent
d15458ca51
commit
e684533f8e
2 changed files with 9 additions and 10 deletions
|
@ -6,16 +6,16 @@ jobs:
|
|||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Test
|
||||
uses: https://git.kemitix.net/kemitix/rust@v0.2.4
|
||||
uses: https://git.kemitix.net/kemitix/rust@v0.2.5
|
||||
with:
|
||||
args: test
|
||||
|
||||
- name: Build
|
||||
uses: https://git.kemitix.net/kemitix/rust@v0.2.4
|
||||
uses: https://git.kemitix.net/kemitix/rust@v0.2.5
|
||||
with:
|
||||
args: build
|
||||
|
||||
- name: Run
|
||||
uses: https://git.kemitix.net/kemitix/rust@v0.2.4
|
||||
uses: https://git.kemitix.net/kemitix/rust@v0.2.5
|
||||
with:
|
||||
args: run
|
||||
|
|
13
README.md
13
README.md
|
@ -12,13 +12,12 @@ jobs:
|
|||
test:
|
||||
runs-on: docker
|
||||
steps:
|
||||
- uses: https://git.kemitix.net/kemitix/rust@main
|
||||
- uses: https://git.kemitix.net/kemitix/rust@v0.2.5
|
||||
with:
|
||||
args: test
|
||||
- uses: https://git.kemitix.net/kemitix/rust@main
|
||||
- uses: https://git.kemitix.net/kemitix/rust@v0.2.5
|
||||
with:
|
||||
args: build
|
||||
|
||||
```
|
||||
|
||||
## 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.
|
||||
|
||||
```toml
|
||||
[target.x86_64-unknown-linux-gnu]
|
||||
linker = "/usr/bin/clang-16"
|
||||
[target.x86_64-unknown-linux-gnu]
|
||||
linker = "/usr/bin/clang-16"
|
||||
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.
|
||||
|
||||
```toml
|
||||
[profile.dev]
|
||||
debug = 0
|
||||
[profile.dev]
|
||||
debug = 0
|
||||
strip = "debuginfo"
|
||||
```
|
||||
|
|
Loading…
Reference in a new issue