Skip to content

ctor doesn't work for ocaml as staticlib #6975

@Xuanwo

Description

@Xuanwo

I double-checked again. I believe the changes in this PR are correct. However, for reasons we don't know (maybe ctor doesn't work in OCaml?), it doesn't work as expected. We can debug the ocaml's bug in another new issue instead.

Can you change OCaml to test against memory instead? We should just change

test_check_result (Operator.new_operator "fs" cfgs)

Some test cases might fail too, so we need to update them accordingly.

Originally posted by @Xuanwo in #6970 (comment)


Ok, it's actually a Rust bug:

mmastrac/rust-ctor#280
rust-lang/rust#99721

Metadata

Metadata

Assignees

No one assigned

    Labels

    rustPull requests that update Rust code

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions