-
Notifications
You must be signed in to change notification settings - Fork 137
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: bind syscalls in conformance tests
Unfortunately, I had to drop the generics to prevent some circular type constraint evaluation issues. This is likely because: 1. `SyscallHandler` is generic over "self". 2. `SyscallHandler<Self>` is only implemented if `Self: FilecoinKernel`. 3. `FilecoinKernel` is only implemented if `Self: SyscallHandler<Self>`. Rust _can_ figure all of this out if we specify concrete types, but it can't yet prove this generically.
- Loading branch information
Showing
3 changed files
with
29 additions
and
34 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
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