Skip to content

Option<&foo> does not decay to *foo in extern C mode #3

Open

Description

@danielsn

Test: ForeignItems/fixme_main.rs

Activity

  1. changed the title [-]Option<&foo> does not decay to *foo in extern C mode[/-] [+]`Option<&foo>` does not decay to `*foo` in extern C mode[/+] on Mar 29, 2021
  2. added a commit that references this issue on Nov 16, 2021
  3. added
    [C] Bug
    on Mar 14, 2022
  4. added
    [C] Feature / Enhancement
    and removed on Mar 24, 2022
  5. tedinski commented on Aug 26, 2022

    @tedinski
    Contributor

    I think this bug is fixed, but that FIXME test still exists, alongside a main.rs that's similar but not identical.

    Someone should take a minute to resolve this...

  6. added this to the C-FFI Milestone milestone on May 3, 2023
  7. celinval commented on May 3, 2023

    @celinval
    Contributor

    This issue hasn't been fixed. The test is not actually testing this feature (the check was actually commented out). I am creating a test specific for this and removing the old one that is rather redundant and incorrect.

  8. added theissue type on Apr 1, 2026
  9. added
    [E] Unsupported Construct
    on Nov 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    [C] Bug[C] Feature / Enhancement[E] Unsupported Construct

    Type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions