Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: make bind_syscalls an associated function #1942

Merged
merged 1 commit into from
Dec 12, 2023

Conversation

Stebalien
Copy link
Member

The result of this function is cached and not tied to any given kernel. It shouldn't have access to a particular kernel's state because the "result" of calling this function will be used with multiple kernels (of the same type).

@codecov-commenter
Copy link

codecov-commenter commented Dec 7, 2023

Codecov Report

Merging #1942 (bae4c9f) into master (8f4d31b) will increase coverage by 0.05%.
The diff coverage is 100.00%.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1942      +/-   ##
==========================================
+ Coverage   75.68%   75.73%   +0.05%     
==========================================
  Files         157      157              
  Lines       15483    15478       -5     
==========================================
+ Hits        11718    11722       +4     
+ Misses       3765     3756       -9     
Files Coverage Δ
fvm/src/engine/mod.rs 80.49% <100.00%> (-0.41%) ⬇️
fvm/src/kernel/mod.rs 90.00% <ø> (ø)
fvm/src/syscalls/mod.rs 97.39% <100.00%> (+0.52%) ⬆️

... and 2 files with indirect coverage changes

The result of this function is cached and not tied to any given kernel.
It shouldn't have access to a particular kernel's state because the
"result" of calling this function will be used with multiple kernels (of
the same type).
@Stebalien Stebalien merged commit cd35d09 into master Dec 12, 2023
14 checks passed
@Stebalien Stebalien deleted the feat/static-bind-syscalls branch December 12, 2023 19:04
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.

3 participants