Skip to content

fixed the mac-ci failing for metacall_node_port_c_lib_test#773

Merged
viferga merged 1 commit intometacall:developfrom
ROKUMATE:fix-dynlink-macos-dylib-extension-2
Apr 17, 2026
Merged

fixed the mac-ci failing for metacall_node_port_c_lib_test#773
viferga merged 1 commit intometacall:developfrom
ROKUMATE:fix-dynlink-macos-dylib-extension-2

Conversation

@ROKUMATE
Copy link
Copy Markdown
Contributor

Summary

Export metacall_load_from_package_ex to the node_port layer so C libraries can be loaded with all options (include paths, headers, libraries) in a single call. Fixes macOS CI failure where C loader couldn't be properly initialized through node_port.

Testing

  • tested on mac - 26.3.1 locally
  • ✅ 74/74 comprehensive tests passing
  • metacall-node-port-c-lib-test passing (critical test)

Details

The C loader requires headers option to discover and export symbols via libclang. Previous approach using metacall_execution_path was fragile on macOS. New approach passes all options at load time, ensuring symbols are properly discovered.

Closes

@viferga
Copy link
Copy Markdown
Member

viferga commented Apr 17, 2026

You made it, congratulations. It passes the macos tests.

@viferga viferga merged commit ebdacbf into metacall:develop Apr 17, 2026
59 of 75 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants