]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
rust: rename .cargo/config to .cargo/config.toml 11095/head
authorJason Ish <jason.ish@oisf.net>
Thu, 16 May 2024 16:42:53 +0000 (10:42 -0600)
committerVictor Julien <victor@inliniac.net>
Thu, 16 May 2024 17:58:37 +0000 (19:58 +0200)
Addresses this warning from the Rust compiler:

warning: `../rust/.cargo/config` is deprecated in favor of `config.toml`
note: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml`

configure.ac
rust/.cargo/config.toml.in [moved from rust/.cargo/config.in with 100% similarity]
rust/.gitignore
rust/Makefile.am

index 0e9390bb882fd849d9bc200e3005c96d5e5ea095..de8fd2687d5e96e74590c5fa0e1a55edf7eaf9f8 100644 (file)
@@ -2643,7 +2643,7 @@ AC_SUBST(enable_non_bundled_htp)
 
 AM_CONDITIONAL([BUILD_SHARED_LIBRARY], [test "x$enable_shared" = "xyes"] && [test "x$can_build_shared_library" = "xyes"])
 
-AC_CONFIG_FILES(Makefile src/Makefile rust/Makefile rust/Cargo.lock rust/Cargo.toml rust/derive/Cargo.toml rust/.cargo/config)
+AC_CONFIG_FILES(Makefile src/Makefile rust/Makefile rust/Cargo.lock rust/Cargo.toml rust/derive/Cargo.toml rust/.cargo/config.toml)
 AC_CONFIG_FILES(qa/Makefile qa/coccinelle/Makefile)
 AC_CONFIG_FILES(rules/Makefile doc/Makefile doc/userguide/Makefile)
 AC_CONFIG_FILES(contrib/Makefile contrib/file_processor/Makefile contrib/file_processor/Action/Makefile contrib/file_processor/Processor/Makefile)
index d8c32e41fec62b93b8510b4e7f483f9479750e01..70615afaaa0af3b078c7d3e4d8e95d170e76a3e6 100644 (file)
@@ -1,7 +1,8 @@
 !Cargo.toml.in
 !Cargo.lock.in
 Cargo.toml
-/.cargo/config
+/.cargo/config.toml
+!/.cargo/config.toml.in
 /Cargo.lock
 /target
 /vendor
index 4b04a71a90f2f3cc3edf1a982806f35c9ba518de..29cb05577a90e5049a9113b874cf018fc81065b0 100644 (file)
@@ -1,5 +1,5 @@
 EXTRA_DIST =   src derive \
-               .cargo/config.in \
+               .cargo/config.toml.in \
                cbindgen.toml \
                dist/rust-bindings.h \
                vendor \