Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lua: update lua crate #12104

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

jasonish
Copy link
Member

@jasonish jasonish commented Nov 7, 2024

Update lua crate to 0.1.0-alpha.4. This update will force a rewrite of
the headers if the env var SURICATA_LUA_SYS_HEADER_DST changes. This
fixes the issue where the headers may not be written.

The cause is that Rust dependencies are cached, and if your editor is
using rust-analyzer, it might cache the built without this var being
set, so these headers are not available to Suricata. This crate update
forces the re-run of the Lua build.rs if this env var changes, fixing
this issue.

Update lua crate to 0.1.0-alpha.4. This update will force a rewrite of
the headers if the env var SURICATA_LUA_SYS_HEADER_DST changes. This
fixes the issue where the headers may not be written.

The cause is that Rust dependencies are cached, and if your editor is
using rust-analyzer, it might cache the built without this var being
set, so these headers are not available to Suricata. This crate update
forces the re-run of the Lua build.rs if this env var changes, fixing
this issue.
Copy link

codecov bot commented Nov 7, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 83.25%. Comparing base (278dc24) to head (8b67366).

Additional details and impacted files
@@            Coverage Diff             @@
##           master   #12104      +/-   ##
==========================================
+ Coverage   83.23%   83.25%   +0.02%     
==========================================
  Files         906      906              
  Lines      257647   257647              
==========================================
+ Hits       214458   214513      +55     
+ Misses      43189    43134      -55     
Flag Coverage Δ
fuzzcorpus 61.24% <ø> (+0.03%) ⬆️
livemode 19.42% <ø> (+<0.01%) ⬆️
pcap 44.41% <ø> (-0.02%) ⬇️
suricata-verify 62.73% <ø> (+0.03%) ⬆️
unittests 59.28% <ø> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

@jufajardini
Copy link
Contributor

This fixed my issue /o/

@victorjulien
Copy link
Member

The lz4 error in MacOS is persistent. Only seeing it in this PR so far.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants