-
-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(fs): support for
copyFile
methods
- feat: implement `copyFile` methods in `fs` and `fs/promises` - feat: initial `GuestExecutor` support - feat: guest executor infra - test: add tests for `copyFile` methods - fix: reduce requisite syscalls for file reads - fix: encoding parameter should default to utf8 for `readFile` - fix: bugfixes for behavior in callback behavior for `fs` - fix: support for UTF-32 in `fs` module - fix: js error handling in `fs` module - fix: dependency base for gvm tests with executor - chore: update `runtime` module with new facade exports - chore: unwire direct executor from `fs` - chore: update `graalvm` module pin - chore: wire in guest executors Signed-off-by: Sam Gammon <[email protected]>
- Loading branch information
Showing
36 changed files
with
1,743 additions
and
308 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 19 additions & 0 deletions
19
packages/engine/src/test/kotlin/elide/runtime/gvm/test/GuestTestExecutor.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
package elide.runtime.gvm.test | ||
|
||
import io.micronaut.context.annotation.Requires | ||
import elide.annotations.Eager | ||
import elide.annotations.Factory | ||
import elide.annotations.Singleton | ||
import elide.runtime.gvm.GuestExecution | ||
import elide.runtime.gvm.GuestExecutor | ||
import elide.runtime.gvm.GuestExecutorProvider | ||
|
||
/** | ||
* Guest Test Executor Factory | ||
* | ||
* Initializes a direct executor for use during test execution. | ||
*/ | ||
@Requires(env = ["test"]) | ||
@Eager @Factory internal class GuestTestExecutorFactory : GuestExecutorProvider { | ||
@Singleton override fun executor(): GuestExecutor = GuestExecution.direct() | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# `graalvm` | ||
|
||
Main logic module for Elide's integration points with GraalVM. | ||
|
||
|
Oops, something went wrong.