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

rust/lua - fix datatype to lua_pushinteger - v3 #4253

Closed
wants to merge 3 commits into from

Conversation

jasonish
Copy link
Member

Previous PR:
#4248

Changes from last PR:

  • Use FAIL_IF_NULL in test fixup
  • Do size check instead of version check

Link to redmine ticket:
https://redmine.openinfosecfoundation.org/issues/2955

PRScript output (if applicable):

Lua 5.1 and 5.3 use a different integer size. Run a test program
to set the integer size used in the Rust FFI layer to Rust.
This variable is no longer used. Instead multiple
lua pkg-config names are checked.
Remove passing NULL as a format string parameter
in test. Convert to FAIL_IF_NULL.
@victorjulien
Copy link
Member

This fails in some cases (strict compile flags, non-bundled htp). Have a fix queued.

@victorjulien
Copy link
Member

I've merged the magic and pc name commits in #4271. Will take the int size fix with some additional fixes a bit later.

@victorjulien victorjulien mentioned this pull request Oct 4, 2019
@victorjulien
Copy link
Member

Merged with additional fix in #4273, thanks Jason!

@jasonish jasonish deleted the issue-2955/lua-rust-32bit/v3 branch October 4, 2019 14:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants