Commit Graph

3 Commits

Author SHA1 Message Date
Achille
f0a5b37f04 filecache: use os.CreateTemp to create files (#2088)
Signed-off-by: Achille Roussel <achille.roussel@gmail.com>
2024-02-24 07:00:57 +09:00
Val Packett
6e61e20252 filecache: use rename for an atomic write (#1816)
Signed-off-by: Val Packett <val@packett.cool>
2023-10-25 16:12:17 +08:00
Takeshi Yoneda
35500f9b85 Introduces Cache API (#1016)
This introduces the new API wazero.Cache interface which can be passed to wazero.RuntimeConfig. 
Users can configure this to share the underlying compilation cache across multiple wazero.Runtime. 
And along the way, this deletes the experimental file cache API as it's replaced by this new API.

Signed-off-by: Takeshi Yoneda <takeshi@tetrate.io>
Co-authored-by: Crypt Keeper <64215+codefromthecrypt@users.noreply.github.com>
2023-01-10 09:32:42 +09:00