Skip to content

struct layout differences between debug and release builds #260

Open
@wks

Description

@wks

(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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions