From e684533f8e695c65f2dbbb92dc1a318b9bf313c4 Mon Sep 17 00:00:00 2001 From: Paul Campbell Date: Fri, 17 May 2024 06:56:50 +0100 Subject: [PATCH] Version set to v0.2.5 --- .forgejo/workflows/test.yml | 6 +++--- README.md | 13 ++++++------- 2 files changed, 9 insertions(+), 10 deletions(-) diff --git a/.forgejo/workflows/test.yml b/.forgejo/workflows/test.yml index 5eda717..32b658c 100644 --- a/.forgejo/workflows/test.yml +++ b/.forgejo/workflows/test.yml @@ -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 diff --git a/README.md b/README.md index 6055f11..d6d3521 100644 --- a/README.md +++ b/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" ```