Skip to content

feat(ctypes): add sandboxed link dependencies - #16248

Open
rgrinberg wants to merge 1 commit into
ocaml:mainfrom
rgrinberg:push-nzptrquzovpw
Open

feat(ctypes): add sandboxed link dependencies#16248
rgrinberg wants to merge 1 commit into
ocaml:mainfrom
rgrinberg:push-nzptrquzovpw

Conversation

@rgrinberg

Copy link
Copy Markdown
Member

Add Ctypes extension version 0.4 with a separate link_deps field for dependencies needed by c_library_flags.

Executable links and C stubs library links using Ctypes 0.4 now require sandboxing and receive the declared link dependencies and environment. Ctypes 0.3 and ordinary foreign stubs retain their existing sandbox behavior.

The vendored fixtures exercise both versions, demonstrating the 0.3-to-0.4 sandbox transition for executable and library links.

Signed-off-by: Rudi Grinberg <me@rgrinberg.com>
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.

1 participant