Skip to content

FFI error and shared caches#53

Merged
l0kod merged 2 commits into
landlock-lsm:mainfrom
l0kod:ffi-error-and-shared-caches
Oct 12, 2025
Merged

FFI error and shared caches#53
l0kod merged 2 commits into
landlock-lsm:mainfrom
l0kod:ffi-error-and-shared-caches

Conversation

@l0kod
Copy link
Copy Markdown
Member

@l0kod l0kod commented Oct 12, 2025

The first commit improves errno conversion, and the second commit widely share caches. Both commits are useful in the same PR to verify that the caches work correctly.

This shared cache should help to reduce the number of caches, especially with #52

l0kod added 2 commits October 12, 2025 19:26
Simplify error conversions in parse_file().

Fix ENOTDIR mapping in parse_directory() and add tests.

Signed-off-by: Mickaël Salaün <mic@digikod.net>
Do not use the commit ID to avoid almost duplicated caches.  GitHub CI
caches are only shared for the same PR and can be imported from the main
branch.

GitHub CI cache is limited to 10 GB, a Rust build cache is ~1150 MB, and
an Arch Linux container cache is ~960 MB.

Signed-off-by: Mickaël Salaün <mic@digikod.net>
@l0kod l0kod force-pushed the ffi-error-and-shared-caches branch from 6dabb3e to e7ba982 Compare October 12, 2025 17:26
@l0kod l0kod merged commit e7ba982 into landlock-lsm:main Oct 12, 2025
8 checks passed
@l0kod l0kod deleted the ffi-error-and-shared-caches branch October 12, 2025 17:29
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