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

Fix nightly ci by specify different flags for debug and release builds #94

Merged
merged 1 commit into from
Jan 16, 2024

Conversation

MeirShpilraien
Copy link
Contributor

V8 added a new compilation flag, V8_ENABLE_CHECKS, which is enabled on debug build. When we compile this library for debug we must also enable this flag otherwise we will crash with a segfault as we see on this nightly build:
https://github.com/RedisGears/v8-rs/actions/runs/7517083331/job/20463102147

The PR compiles v8_c_api for debug or release base on the profile that was used on rust compilation (when running cargo).

(cherry picked from commit fff163c)

…s. (#93)

* Fix nightly ci by specify different flags for debug and release builds.

* Fix build failure

(cherry picked from commit fff163c)
@MeirShpilraien MeirShpilraien merged commit 5128924 into 0.2 Jan 16, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants