tremor-rs: fix errors caused by new warning

This commit is contained in:
FliegendeWurst
2024-12-18 08:08:32 +01:00
parent af7ec7d2b6
commit 12613eac40
+4 -2
View File
@@ -43,8 +43,10 @@ rustPlatform.buildRustPackage rec {
# error: `log_error` isn't a valid `#[macro_export]` argument
# note: `#[deny(invalid_macro_export_arguments)]` implied by `#[deny(warnings)]`
postPatch = ''
substituteInPlace src/lib.rs \
--replace '#![deny(' '#![warn('
shopt -s globstar
substituteInPlace **/*.rs \
--replace-quiet '#![deny(warnings)]' ""
shopt -u globstar
'';
# TODO export TREMOR_PATH($out/lib) variable