tremor-rs: fix errors caused by new warning (#366089)

This commit is contained in:
Yt
2024-12-18 22:10:47 -05:00
committed by GitHub
+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