Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
79 commits
Select commit Hold shift + click to select a range
dbbca4f
fix!: Polonius subset calculation algorithm
cordx56 Jan 26, 2026
93972c8
chore: add algorithm check scripts
cordx56 Jan 27, 2026
31e3cdd
chore: update algo check script
cordx56 Jan 27, 2026
d486a4b
chore: add algorithm test workflow
cordx56 Jan 27, 2026
b2672da
chore: add echo for test fail
cordx56 Jan 27, 2026
d3f84db
chore: fix Rust version for algo tests
cordx56 Jan 27, 2026
73c90f1
chore: fix test if
cordx56 Jan 27, 2026
e3dc272
chore: use insta and rust
MuntasirSZN Jan 29, 2026
6e4fdd0
Merge remote-tracking branch 'origin/main' into fix/subset-calc
MuntasirSZN Jan 29, 2026
98c3642
chore: add nextest rin
MuntasirSZN Jan 30, 2026
e6d7832
chore: fixes
MuntasirSZN Jan 30, 2026
7698afc
chore: fixes
MuntasirSZN Jan 30, 2026
787c268
Update algorithm.rs
MuntasirSZN Jan 31, 2026
39c8de3
Update checks.yml
MuntasirSZN Jan 31, 2026
f641d1a
Update checks.yml
MuntasirSZN Jan 31, 2026
9065ce1
Update checks.yml
MuntasirSZN Jan 31, 2026
09fbced
Update checks.yml
MuntasirSZN Jan 31, 2026
a2f1ad6
chore: pin test toolchain version
cordx56 Feb 2, 2026
45665f6
Update checks.yml
MuntasirSZN Feb 2, 2026
b361d8b
Update checks.yml
MuntasirSZN Feb 2, 2026
9483f61
Update checks.yml
MuntasirSZN Feb 2, 2026
bd131ae
Update print-env.sh
MuntasirSZN Feb 3, 2026
9c92c48
Update Cargo.toml
MuntasirSZN Feb 3, 2026
0569c8f
Update build.yml
MuntasirSZN Feb 3, 2026
d9d0d70
Update checks.yml
MuntasirSZN Feb 3, 2026
3145111
Update checks.yml
MuntasirSZN Feb 3, 2026
e2f6f73
Update print-env.sh
MuntasirSZN Feb 3, 2026
9cc872a
Update print-env.sh
MuntasirSZN Feb 3, 2026
aab746b
Update print-env.sh
MuntasirSZN Feb 3, 2026
3ff77a1
Update print-env.sh
MuntasirSZN Feb 3, 2026
ce7d1e1
Update print-env.sh
MuntasirSZN Feb 3, 2026
e7547a5
Update print-env.sh
MuntasirSZN Feb 3, 2026
fe232c8
Update print-env.sh
MuntasirSZN Feb 3, 2026
093f47d
Update print-env.sh
MuntasirSZN Feb 3, 2026
137a53c
Update print-env.sh
MuntasirSZN Feb 3, 2026
508d489
Update Cargo.toml
MuntasirSZN Feb 3, 2026
4333611
Update rustowl.rs
MuntasirSZN Feb 3, 2026
62510f6
Update rustowlc.rs
MuntasirSZN Feb 3, 2026
af71b9e
Update rustowl.rs
MuntasirSZN Feb 3, 2026
73e57d4
Update rustowl.rs
MuntasirSZN Feb 3, 2026
47d0665
Update rustowlc.rs
MuntasirSZN Feb 3, 2026
6093b95
Update print-env.sh
MuntasirSZN Feb 3, 2026
aedb4c6
loclfile
MuntasirSZN Feb 3, 2026
6ad5a7e
Merge branch 'main' into fix/subset-calc
MuntasirSZN Feb 4, 2026
dedd4db
Update rustowlc.rs
MuntasirSZN Feb 4, 2026
6f6cfde
Update rustowl.rs
MuntasirSZN Feb 4, 2026
0f8e904
last try with thin lto, that doesnt work, well no lto for windows
MuntasirSZN Feb 4, 2026
f6b9fa1
Update checks.yml
MuntasirSZN Feb 4, 2026
2af212b
Update Cargo.toml
MuntasirSZN Feb 5, 2026
f226b8e
Update print-env.sh
MuntasirSZN Feb 5, 2026
5527346
finale try 1
MuntasirSZN Feb 5, 2026
9965e02
Update config.toml
MuntasirSZN Feb 5, 2026
7a98011
fix?
MuntasirSZN Feb 5, 2026
3f8ce78
trying
MuntasirSZN Feb 5, 2026
f9620e8
try2
MuntasirSZN Feb 5, 2026
5d44074
no cross lang lto
MuntasirSZN Feb 5, 2026
f3707f0
nothing special
MuntasirSZN Feb 5, 2026
cab4790
format
MuntasirSZN Feb 5, 2026
f186ef6
Update print-env.sh
MuntasirSZN Feb 7, 2026
1320a4d
remove O3 flag as aws lc rs cpu jitter entropy must not be optimized
MuntasirSZN Feb 7, 2026
a948afe
Update print-env.sh
MuntasirSZN Feb 7, 2026
5949b6f
Delete config.toml
MuntasirSZN Feb 7, 2026
cc32cd1
fixes
MuntasirSZN Feb 7, 2026
2c7f4ae
Merge branch 'main' into fix/subset-calc
MuntasirSZN Feb 7, 2026
32afe33
Update print-env.sh
MuntasirSZN Feb 8, 2026
a6ef7f0
Update Cargo.toml
MuntasirSZN Feb 8, 2026
dc5e9f3
Update Cargo.toml
MuntasirSZN Feb 8, 2026
5ea90ff
Update Cargo.toml
MuntasirSZN Feb 8, 2026
e5f00b9
Update build.yml
MuntasirSZN Feb 8, 2026
06fc553
Update build.yml
MuntasirSZN Feb 8, 2026
d04a4f1
Update build.yml
MuntasirSZN Feb 8, 2026
8e3e9e6
Update build.yml
MuntasirSZN Feb 8, 2026
297d170
Update checks.yml
MuntasirSZN Feb 8, 2026
69b72ec
Update algorithm.rs
MuntasirSZN Feb 8, 2026
3b2713c
format
MuntasirSZN Feb 8, 2026
a8ce3af
Update checks.yml
MuntasirSZN Feb 8, 2026
addeec8
Update algorithm.rs
MuntasirSZN Feb 8, 2026
c244653
why its still failing?
MuntasirSZN Feb 9, 2026
2aba58a
Create .config/nextest.toml
MuntasirSZN Feb 9, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .cargo/config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[env]
AWS_LC_SYS_PREBUILT_NASM = "1"
6 changes: 6 additions & 0 deletions .config/nextest.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
[test-groups.serial-algorithm]
max-threads = 1

[[profile.default.overrides]]
filter = "test(::test_f[0-9])"
test-group = "serial-algorithm"
45 changes: 41 additions & 4 deletions .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,9 @@ jobs:
steps:
- id: toolchains
run: |
# Last 5 stable versions only
TOOLCHAINS='["1.89.0", "1.90.0", "1.91.1", "1.92.0", "1.93.0"]'
echo "toolchains=$TOOLCHAINS" >> $GITHUB_OUTPUT
echo "toolchains=$TOOLCHAINS" >> "$GITHUB_OUTPUT"
echo "latest=$(jq -r '.[-1]' <<< "$TOOLCHAINS")" >> "$GITHUB_OUTPUT"

lint:
Expand Down Expand Up @@ -75,28 +76,64 @@ jobs:

test:
name: Build & Test
runs-on: ubuntu-latest
runs-on: ${{ matrix.os }}
needs:
- define-matrix

defaults:
run:
shell: bash

strategy:
matrix:
toolchain: ${{ fromJSON(needs.define-matrix.outputs.toolchains) }}
os:
- windows-latest
- windows-11-arm
- macos-15-intel
- macos-latest
- ubuntu-latest
- ubuntu-24.04-arm

env:
TOOLCHAIN_CHANNEL: ${{ matrix.toolchain }}

steps:
- name: Checkout
uses: actions/checkout@v6

# Using fat LTO causes failure to link on Windows
- name: Set build profile
run: |
if [[ "${{ matrix.os }}" == windows* ]]; then
echo "build_profile=windows-release" >> $GITHUB_ENV
else
echo "build_profile=release" >> $GITHUB_ENV
fi

- name: Cache dependencies
uses: Swatinem/rust-cache@v2
with:
save-if: ${{ github.ref == 'refs/heads/main' }}

- name: Install nextest
uses: taiki-e/install-action@cargo-nextest

# uname on Windows on ARM returns "x86_64"
- name: Set ARCH flag for Windows on ARM
if: matrix.os == 'windows-11-arm'
run: echo "TOOLCHAIN_ARCH=aarch64" >> $GITHUB_ENV

- name: Build release
run: ./scripts/build/toolchain cargo build --release
run: ./scripts/build/toolchain cargo build --profile=${{ env.build_profile }}

- name: Run tests
# MIR is still unstable, so this test can fail in other versions of Rust.
if: matrix.toolchain == needs.define-matrix.outputs.latest
run: ./scripts/build/toolchain cargo nextest run --no-fail-fast

- name: Install binary
run: ./scripts/build/toolchain cargo install --path .
run: ./scripts/build/toolchain cargo install --path . --profile=${{ env.build_profile }}

- name: Test rustowl check
run: rustowl check ./perf-tests/dummy-package
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/security.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ jobs:
uses: actions-rust-lang/setup-rust-toolchain@v1
with:
components: miri,rust-src,llvm-tools-preview,rustc-dev
# Automatically reads from rust-toolchain.toml
cache: false

- name: Install system dependencies (Linux)
Expand Down
Loading
Loading