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

struct layout differences between debug and release builds #260

Open
wks opened this issue Nov 29, 2023 · 0 comments
Open

struct layout differences between debug and release builds #260

wks opened this issue Nov 29, 2023 · 0 comments

Comments

@wks
Copy link
Contributor

wks commented Nov 29, 2023

(Moved from mmtk/mmtk-core#353)

Some structs in the mmtk-openjdk binding have fields that defers between debug/release builds of the C++ code of OpenJDK. Currently, we use the directive #[cfg(debug_assertions)] to make the difference. We should consider using other mechanisms so that we can have the Rust part (together with MMTk core) in debug build, and the C++ part in release build.

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

No branches or pull requests

1 participant