Externalize compilation cache by compilers (#747)
This adds the experimental support of the file system compilation cache. Notably, experimental.WithCompilationCacheDirName allows users to configure where the compiler writes the cache into. Versioning/validation of binary compatibility has been done via the release tag (which will be created from the end of this month). More specifically, the cache file starts with a header with the hardcoded wazero version. Fixes #618 Signed-off-by: Takeshi Yoneda <takeshi@tetrate.io> Co-authored-by: Crypt Keeper <64215+codefromthecrypt@users.noreply.github.com>
This commit is contained in:
5
version.go
Normal file
5
version.go
Normal file
@@ -0,0 +1,5 @@
|
||||
package wazero
|
||||
|
||||
// wazeroVersion holds the current version of wazero.
|
||||
// TODO: use debug.ReadBuildInfo automatically set wazeroVersion to the release tag.
|
||||
var wazeroVersion = "dev"
|
||||
Reference in New Issue
Block a user