Skip to content

Commit 4b6802e

Browse files
committed
.cargo/config.toml: set CFLAGS='-std=gnu17'
to make onig compile with GCC 15, which by default uses a newer C standard (C23)
1 parent a5a9f7d commit 4b6802e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.cargo/config.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,5 @@ linker = "x86_64-unknown-redox-gcc"
33

44
[env]
55
PROJECT_NAME_FOR_VERSION_STRING = "uutils coreutils"
6+
# TODO remove when there is an onig version > 6.4.0, https://github.com/rust-onig/rust-onig/issues/196
7+
CFLAGS='-std=gnu17'

0 commit comments

Comments
 (0)