Skip to content

Windows: c_import behavior tests fail on MSVC headers #799

Closed

Description

@ropoctl

8 c_import behavior tests fail (exit 1) on native Windows CI with real MSVC/UCRT headers. Covers borrow-annotation, const c-string args, overlay strchr/strcmp, owning fopen wrapper, SDK-header import, and borrowed cstring->str. Tracked behind //! skip-windows; un-skip PR will capture the per-test stderr and root-cause.
Tests: behav_borrowed_cstring_str_ok, behav_c_import_borrow_param_readdir, behav_c_import_borrows_annotation, behav_c_import_const_c_string_arg, behav_c_import_overlay_strchr_borrowed, behav_c_import_overlay_strcmp, behav_c_import_owning_wrapper_fopen, behav_c_import_sdk_header

Activity

  1. 10 remaining items

  2. ehartford commented on Oct 25, 2026

    @ehartford
    Contributor

    Triage 2026-10-25, Windows x86_64 (win10, with.exe built from main c88f3ee): does not reproduce. Every test this issue names passes on Windows, and none carries //! skip-windows any more (the tree has none):

    • test/behavior/behav_borrowed_cstring_str_ok.w
    • test/behavior/behav_c_import_borrow_param_readdir.w
    • test/behavior/behav_c_import_borrows_annotation.w
    • test/behavior/behav_c_import_const_c_string_arg.w
    • test/behavior/behav_c_import_overlay_strchr_borrowed.w
    • test/behavior/behav_c_import_overlay_strcmp.w
    • test/behavior/behav_c_import_owning_wrapper_fopen.w
    • test/behavior/behav_c_import_sdk_header.w

    All ran in one with.exe test invocation of 57 Windows-cluster tests (#797–#806); 55 passed, and the two that failed are tracked on #797 and #806.

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions