-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update RFC to remove
InstanceAllocator
from the wasmtime
crate.
Remove the `InstanceAllocator` trait and the `DefaultInstanceAllocator` struct from the `wasmtime` crate. Add the `InstanceAllocationStrategy` enum and update the related `Config` method.
- Loading branch information
1 parent
183e1e4
commit f736faf
Showing
1 changed file
with
41 additions
and
75 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
Warning: total bikeshedding incoming...
"Default" doesn't really describe the strategy, just that it happens to be the default right now (which could conceivably change sometime in the future!)
What about
Dynamic
orOnDemand
or something like that? And then mentioning in the doc comment that it is the default (and also we should implement theDefault
trait for this enum).