Skip to content

test(ctypes): expose dropped deps in generated C compilation - #16222

Merged
rgrinberg merged 1 commit into
ocaml:mainfrom
rgrinberg:push-vtvqktrouqwl
Aug 27, 2026
Merged

rgrinberg merged 1 commit into
ocaml:mainfrom
rgrinberg:push-vtvqktrouqwl

Conversation

@rgrinberg

Copy link
Copy Markdown
Member

Add a regression test showing that (ctypes (deps ...)) does not reach generated C stub compilation. With symlink sandboxing forced, the generated C compiler still runs outside the sandbox.

@rgrinberg
rgrinberg merged commit 7dd6798 into ocaml:main Aug 27, 2026
37 of 39 checks passed
rgrinberg added a commit that referenced this pull request Aug 27, 2026
Require sandboxing for Ctypes stub-generation actions in every supported
extension version, and propagate `ctypes.deps` to generated C
compilation. Ordinary `foreign_stubs` retain their existing unsandboxed
behavior.

The regression test landed separately in #16222.

Signed-off-by: Rudi Grinberg <[email protected]>
@Alizter Alizter added this to the 3.25.0 milestone Aug 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants