Skip to content

Accept uppercase native object and static-library filename extensions #168

Closed

Description

@LunaStev

Audited against merged master 13289d7a74ad45561554bbb6673a189dbb192a27 (PR #161).

Problem and reproduction

Native library path validation recognizes only lowercase .o, .obj, .a and .lib. Windows-produced filenames such as HELLO.LIB or HELLO.OBJ are rejected before filesystem resolution, even though the extension identifies the same artifact kind.

Minimal manifest:

{format=2,name="app",native={libraries=[{path="native/HELLO.LIB"}]}}

vex info returns exit 3 with the object/static-library extension diagnostic. This was reproduced at the manifest-parser layer on Linux; it does not depend on a Windows linker.

Scope and acceptance

  • Recognize allowed suffixes with ASCII case-insensitive comparison.
  • Preserve the original path exactly for filesystem access, especially on case-sensitive hosts.
  • Add .LIB, .OBJ and mixed-case suffix tests alongside existing lowercase cases.
  • Continue rejecting direct shared-library paths and unsupported suffixes; use the existing name/search_paths contract for shared libraries.

This is a small compatibility follow-up to #159, not an expansion of native input types.

Starting points

This is a bounded follow-up suitable for a first contribution; no broader feature redesign is requested.

Activity

  1. added
    enhancement
    good first issue
    build
    cross-platform
    on Oct 18, 2026
  2. self-assigned this
    on Nov 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

buildcross-platformenhancementgood first issue

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions