Skip to content

Commit

Permalink
Builtins fix v0.57.3 (#474)
Browse files Browse the repository at this point in the history
* fixed failing to find the builtin targets

Signed-off-by: Brooks Townsend <[email protected]>

* fixed unexpected % in ex

Signed-off-by: Brooks Townsend <[email protected]>

* bumped versions to v0.57.3

Signed-off-by: Brooks Townsend <[email protected]>

* added new actor and verification test to avoid this

Signed-off-by: Brooks Townsend <[email protected]>

* updated actor readme

Signed-off-by: Brooks Townsend <[email protected]>

Signed-off-by: Brooks Townsend <[email protected]>
  • Loading branch information
brooksmtownsend authored Sep 23, 2022
1 parent 36ba85e commit f75c6cd
Show file tree
Hide file tree
Showing 16 changed files with 3,069 additions and 5 deletions.
18 changes: 18 additions & 0 deletions host_core/lib/host_core/web_assembly/imports.ex
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,24 @@ defmodule HostCore.WebAssembly.Imports do
end
end

# Logging is a builtin and does not need a target
defp identify_target(
token = %{
namespace: @wasmcloud_logging
}
) do
{:ok, token}
end

# Numbergen is a builtin and does not need a target
defp identify_target(
token = %{
namespace: @wasmcloud_numbergen
}
) do
{:ok, token}
end

defp identify_target(
token = %{
namespace: namespace,
Expand Down
2 changes: 1 addition & 1 deletion host_core/mix.exs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
defmodule HostCore.MixProject do
use Mix.Project

@app_vsn "0.57.2"
@app_vsn "0.57.3"

def project do
[
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[build]
target = "wasm32-unknown-unknown"
41 changes: 41 additions & 0 deletions host_core/test/fixtures/actors/randogenlogger/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
# This file lists build byproducts,
# IDE-specific files (unless shared by your team)


## Build
/build
/dist/
/target
**target

## File system
.DS_Store
desktop.ini

## Editor
*.swp
*.swo
Session.vim
.cproject
.idea
*.iml
.vscode
.project
.favorites.json
.settings/

## Temporary files
*~
\#*
\#*\#
.#*

## Python
__pycache__/
*.py[cod]
*$py.class

## Node
**node_modules
**package-lock.json

Loading

0 comments on commit f75c6cd

Please sign in to comment.