Skip to content

Commit dda0e90

Browse files
committed
Maybe fix asan?
1 parent 06bea51 commit dda0e90

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

.github/workflows/dev.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,7 @@ jobs:
135135
instrument=${{ matrix.build.instrument }}
136136
features=${{ matrix.features }}
137137
oci_repo=ghcr.io
138+
jobs=${{ matrix.build.jobs || 8 }}
138139
strategy:
139140
fail-fast: false
140141
matrix:
@@ -280,9 +281,10 @@ jobs:
280281
matrix:
281282
build:
282283
- name: "address"
283-
profile: "debug"
284+
profile: "fuzz"
284285
sanitize: "address"
285286
instrument: "none"
287+
jobs: 1
286288
- name: "thread"
287289
profile: "fuzz"
288290
sanitize: "thread"

nix/profiles.nix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,7 @@ let
103103
sanitize.address.NIX_CXXFLAGS_COMPILE = sanitize.address.NIX_CFLAGS_COMPILE;
104104
sanitize.address.NIX_CFLAGS_LINK = sanitize.address.NIX_CFLAGS_COMPILE ++ [
105105
"-static-libasan"
106+
"-Wl,--thinlto-jobs=1"
106107
];
107108
sanitize.address.RUSTFLAGS = [
108109
"-Zsanitizer=address"

0 commit comments

Comments
 (0)