Skip to content

Commit d4d94e3

Browse files
authored
refactor: borrow the sonic-rs string escape implementation (#27)
1 parent 85a3cca commit d4d94e3

File tree

10 files changed

+1068
-1396
lines changed

10 files changed

+1068
-1396
lines changed

.github/workflows/CI.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,30 @@ jobs:
4545
- name: Run tests
4646
run: cargo test
4747

48+
miri:
49+
runs-on: ubuntu-latest
50+
steps:
51+
- uses: actions/checkout@v5
52+
- name: Setup Rust
53+
uses: dtolnay/rust-toolchain@stable
54+
with:
55+
targets: x86_64-unknown-linux-gnu
56+
components: miri
57+
toolchain: nightly
58+
- uses: actions/setup-node@v5
59+
with:
60+
node-version: 22
61+
cache: 'yarn'
62+
- name: Install dependencies
63+
run: yarn install
64+
- name: Download fixtures
65+
run: node download-fixtures.js
66+
env:
67+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
68+
- name: Run miri
69+
run: cargo miri test
70+
env:
71+
MIRIFLAGS: "-Zmiri-disable-isolation"
4872
bench:
4973
strategy:
5074
matrix:
@@ -53,6 +77,8 @@ jobs:
5377
os: ubuntu-latest
5478
- target: x86_64-pc-windows-msvc
5579
os: windows-latest
80+
- target: aarch64-pc-windows-msvc
81+
os: windows-11-arm
5682
- target: aarch64-unknown-linux-gnu
5783
os: ubuntu-24.04-arm
5884
- target: aarch64-apple-darwin

0 commit comments

Comments
 (0)