Skip to content

Commit 44febdf

Browse files
authored
Merge pull request #330 from chmln/arm64-targets
arm64 targets
2 parents 4a7b216 + 97b4822 commit 44febdf

File tree

5 files changed

+269
-97
lines changed

5 files changed

+269
-97
lines changed

.github/workflows/publish.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,10 @@ jobs:
3232
target: x86_64-pc-windows-msvc
3333
use-cross: false
3434

35+
- os: windows-latest
36+
target: aarch64-pc-windows-msvc
37+
use-cross: false
38+
3539
- os: macos-latest
3640
target: x86_64-apple-darwin
3741
use-cross: false
@@ -44,6 +48,10 @@ jobs:
4448
target: aarch64-unknown-linux-musl
4549
use-cross: true
4650

51+
- os: ubuntu-latest
52+
target: aarch64-unknown-linux-gnu
53+
use-cross: true
54+
4755
- os: ubuntu-latest
4856
target: armv7-unknown-linux-gnueabihf
4957
use-cross: true

.github/workflows/test.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,10 @@ jobs:
3131
target: x86_64-pc-windows-msvc
3232
use-cross: false
3333

34+
- os: windows-latest
35+
target: aarch64-pc-windows-msvc
36+
use-cross: false
37+
3438
- os: macos-latest
3539
target: x86_64-apple-darwin
3640
use-cross: false
@@ -43,6 +47,10 @@ jobs:
4347
target: aarch64-unknown-linux-musl
4448
use-cross: true
4549

50+
- os: ubuntu-latest
51+
target: aarch64-unknown-linux-gnu
52+
use-cross: true
53+
4654
- os: ubuntu-latest
4755
target: armv7-unknown-linux-gnueabihf
4856
use-cross: true
@@ -85,7 +93,7 @@ jobs:
8593
# For legal reasons, cross doesn't support Apple Silicon. See this:
8694
# https://github.com/cross-rs/cross-toolchains#darwin-targets
8795
# It builds and runs fine, but there's no easy way to test it in CI
88-
if [ "${{ matrix.target }}" = "aarch64-apple-darwin" ]; then
96+
if [ "${{ matrix.use-cross }}" = "true" ] || [ "${{ matrix.target }}" = "aarch64-apple-darwin" ] || [ "${{ matrix.target }}" = "aarch64-pc-windows-msvc" ]; then
8997
$CARGO build --target ${{ matrix.target }}
9098
else
9199
$CARGO test --target ${{ matrix.target }}

CHANGELOG.md

Lines changed: 39 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,45 @@ All notable changes to this project will be documented in this file.
44

55
This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

7+
## [Unreleased]
8+
9+
### Breaking
10+
11+
- #328 Make line-by-line processing the default and add `--across` / `-A` (@Orion Gonzalez)
12+
- `sd` now processes input line-by-line by default, reducing memory usage and
13+
enabling streaming output for stdin
14+
- The previous whole-file behavior is still available via `--across` / `-A`
15+
16+
### Improvements
17+
18+
- #313 Replace the unescape implementation with a more lenient one (@Orion Gonzalez)
19+
- Avoids the previous all-or-nothing behavior when escape parsing partially fails
20+
- #326 Retain file ownership on atomic writes (@Gregory)
21+
- Preserves original file uid/gid when replacing files through the atomic write path
22+
23+
### Docs
24+
25+
- #279 Update man page examples for the renamed string literal flag (@Philipp Gillé)
26+
- #281 Update README for string literal argument changes (@Evan Platzer)
27+
- #292 Fix capture group example in the man page (@John Careaga)
28+
- #299 Add `README_zh-CN.md` and follow-up note adjustments (@zhangyanming)
29+
- #320 Fix missing single quotes in a man page example (@Freimut Diener)
30+
31+
### Pre-built Releases
32+
33+
- (90bc67d) Add Windows ARM64 (`aarch64-pc-windows-msvc`) release targets (@Orion Gonzalez)
34+
- (c864c58) Add `aarch64-unknown-linux-gnu` target to CI and releases (@Orion Gonzalez)
35+
- #293 Bump `svenstaro/upload-release-action` from `2.7.0` to `2.9.0` (@dependabot[bot])
36+
37+
### Internal
38+
39+
- #265 Overall codebase reorganization (@Blair Noctis)
40+
- Refactors application structure, error handling, and tests
41+
- `xtask` cleanup and test setup refactors (@Gregory, @Orion Gonzalez)
42+
- Dependency and tooling updates
43+
- Bump `libc` from `0.2.149` to `0.2.155` (@Jingyun Hua)
44+
- Upgrade `assert_cmd` and fix clippy warnings (@Gregory)
45+
746
## [1.0.0] - 2023-11-07
847

948
A quick note to any packages. The generated shell completions and man page are
@@ -187,4 +226,3 @@ To reflect this change, `--input` is also renamed to `--in-place`. This is the f
187226
### Improvements
188227

189228
- Files are now written to [atomically](https://github.com/chmln/sd/issues/3)
190-

0 commit comments

Comments
 (0)