wasmerio / ate Goto Github PK
View Code? Open in Web Editor NEWDistributed immutable data store with strong encryption and authentication
License: Apache License 2.0
Distributed immutable data store with strong encryption and authentication
License: Apache License 2.0
For some reason, if I pull the crates wasm-bus-reqwest
and wasm-bus-process
from crates.io, I get a ton of errors:
[target.'cfg(target_os = "wasi")'.dependencies]
wasm-bus-reqwest = "1.2.0"
wasm-bus-process = "1.0"
$ cargo build --release --target wasm32-wasi
Updating crates.io index
Compiling wasm-bus v1.1.0
Compiling webc v0.1.0 (/home/fs/Development/pirita/crates/webc)
error[E0659]: `CallError` is ambiguous
--> /home/fs/.cargo/registry/src/github.com-1ecc6299db9ec823/wasm-bus-1.1.0/src/abi/data.rs:1:12
|
1 | use super::CallError;
| ^^^^^^^^^ ambiguous name
|
= note: ambiguous because of multiple glob imports of a name in the same module
note: `CallError` could refer to the enum imported here
--> /home/fs/.cargo/registry/src/github.com-1ecc6299db9ec823/wasm-bus-1.1.0/src/abi/mod.rs:37:9
|
37 | pub use wasm_bus_types::*;
| ^^^^^^^^^^^^^^^^^
= help: consider adding an explicit import of `CallError` to disambiguate
note: `CallError` could also refer to the enum imported here
--> /home/fs/.cargo/registry/src/github.com-1ecc6299db9ec823/wasm-bus-1.1.0/src/abi/mod.rs:27:9
|
27 | pub use error::*;
| ^^^^^^^^
= help: consider adding an explicit import of `CallError` to disambiguate
error[E0659]: `CallError` is ambiguous
--> /home/fs/.cargo/registry/src/github.com-1ecc6299db9ec823/wasm-bus-1.1.0/src/abi/listen.rs:9:17
|
9 | use crate::abi::CallError;
| ^^^^^^^^^ ambiguous name
|
= note: ambiguous because of multiple glob imports of a name in the same module
note: `CallError` could refer to the enum imported here
--> /home/fs/.cargo/registry/src/github.com-1ecc6299db9ec823/wasm-bus-1.1.0/src/abi/mod.rs:37:9
|
37 | pub use wasm_bus_types::*;
| ^^^^^^^^^^^^^^^^^
= help: consider adding an explicit import of `CallError` to disambiguate
note: `CallError` could also refer to the enum imported here
--> /home/fs/.cargo/registry/src/github.com-1ecc6299db9ec823/wasm-bus-1.1.0/src/abi/mod.rs:27:9
|
27 | pub use error::*;
| ^^^^^^^^
= help: consider adding an explicit import of `CallError` to disambiguate
error[E0659]: `CallError` is ambiguous
--> /home/fs/.cargo/registry/src/github.com-1ecc6299db9ec823/wasm-bus-1.1.0/src/abi/respond_to.rs:11:17
|
11 | use crate::abi::CallError;
| ^^^^^^^^^ ambiguous name
|
= note: ambiguous because of multiple glob imports of a name in the same module
note: `CallError` could refer to the enum imported here
--> /home/fs/.cargo/registry/src/github.com-1ecc6299db9ec823/wasm-bus-1.1.0/src/abi/mod.rs:37:9
|
37 | pub use wasm_bus_types::*;
| ^^^^^^^^^^^^^^^^^
= help: consider adding an explicit import of `CallError` to disambiguate
note: `CallError` could also refer to the enum imported here
--> /home/fs/.cargo/registry/src/github.com-1ecc6299db9ec823/wasm-bus-1.1.0/src/abi/mod.rs:27:9
|
27 | pub use error::*;
| ^^^^^^^^
= help: consider adding an explicit import of `CallError` to disambiguate
error[E0659]: `CallError` is ambiguous
--> /home/fs/.cargo/registry/src/github.com-1ecc6299db9ec823/wasm-bus-1.1.0/src/prelude.rs:13:21
|
13 | pub use crate::abi::CallError;
| ^^^^^^^^^ ambiguous name
|
= note: ambiguous because of multiple glob imports of a name in the same module
note: `CallError` could refer to the enum imported here
--> /home/fs/.cargo/registry/src/github.com-1ecc6299db9ec823/wasm-bus-1.1.0/src/abi/mod.rs:37:9
|
37 | pub use wasm_bus_types::*;
| ^^^^^^^^^^^^^^^^^
= help: consider adding an explicit import of `CallError` to disambiguate
note: `CallError` could also refer to the enum imported here
--> /home/fs/.cargo/registry/src/github.com-1ecc6299db9ec823/wasm-bus-1.1.0/src/abi/mod.rs:27:9
|
27 | pub use error::*;
| ^^^^^^^^
= help: consider adding an explicit import of `CallError` to disambiguate
error[E0659]: `CallError` is ambiguous
--> /home/fs/.cargo/registry/src/github.com-1ecc6299db9ec823/wasm-bus-1.1.0/src/task/helper.rs:8:17
|
8 | use crate::abi::CallError;
| ^^^^^^^^^ ambiguous name
|
= note: ambiguous because of multiple glob imports of a name in the same module
note: `CallError` could refer to the enum imported here
--> /home/fs/.cargo/registry/src/github.com-1ecc6299db9ec823/wasm-bus-1.1.0/src/abi/mod.rs:37:9
|
37 | pub use wasm_bus_types::*;
| ^^^^^^^^^^^^^^^^^
= help: consider adding an explicit import of `CallError` to disambiguate
note: `CallError` could also refer to the enum imported here
--> /home/fs/.cargo/registry/src/github.com-1ecc6299db9ec823/wasm-bus-1.1.0/src/abi/mod.rs:27:9
|
27 | pub use error::*;
| ^^^^^^^^
= help: consider adding an explicit import of `CallError` to disambiguate
error[E0659]: `CallError` is ambiguous
--> /home/fs/.cargo/registry/src/github.com-1ecc6299db9ec823/wasm-bus-1.1.0/src/abi/mod.rs:67:38
|
67 | Err(_err) => Data::Error(CallError::SerializationFailed),
| ^^^^^^^^^ ambiguous name
|
= note: ambiguous because of multiple glob imports of a name in the same module
note: `CallError` could refer to the enum imported here
--> /home/fs/.cargo/registry/src/github.com-1ecc6299db9ec823/wasm-bus-1.1.0/src/abi/mod.rs:37:9
|
37 | pub use wasm_bus_types::*;
| ^^^^^^^^^^^^^^^^^
= help: consider adding an explicit import of `CallError` to disambiguate
note: `CallError` could also refer to the enum imported here
--> /home/fs/.cargo/registry/src/github.com-1ecc6299db9ec823/wasm-bus-1.1.0/src/abi/mod.rs:27:9
|
27 | pub use error::*;
| ^^^^^^^^
= help: consider adding an explicit import of `CallError` to disambiguate
error[E0659]: `CallError` is ambiguous
--> /home/fs/.cargo/registry/src/github.com-1ecc6299db9ec823/wasm-bus-1.1.0/src/abi/mod.rs:71:38
|
71 | Err(_err) => Data::Error(CallError::SerializationFailed),
| ^^^^^^^^^ ambiguous name
|
= note: ambiguous because of multiple glob imports of a name in the same module
note: `CallError` could refer to the enum imported here
--> /home/fs/.cargo/registry/src/github.com-1ecc6299db9ec823/wasm-bus-1.1.0/src/abi/mod.rs:37:9
|
37 | pub use wasm_bus_types::*;
| ^^^^^^^^^^^^^^^^^
= help: consider adding an explicit import of `CallError` to disambiguate
note: `CallError` could also refer to the enum imported here
--> /home/fs/.cargo/registry/src/github.com-1ecc6299db9ec823/wasm-bus-1.1.0/src/abi/mod.rs:27:9
|
27 | pub use error::*;
| ^^^^^^^^
= help: consider adding an explicit import of `CallError` to disambiguate
error[E0659]: `CallError` is ambiguous
--> /home/fs/.cargo/registry/src/github.com-1ecc6299db9ec823/wasm-bus-1.1.0/src/abi/mod.rs:87:34
|
87 | F: FnMut(REQ) -> Result<RES, CallError>,
| ^^^^^^^^^ ambiguous name
|
= note: ambiguous because of multiple glob imports of a name in the same module
note: `CallError` could refer to the enum imported here
--> /home/fs/.cargo/registry/src/github.com-1ecc6299db9ec823/wasm-bus-1.1.0/src/abi/mod.rs:37:9
|
37 | pub use wasm_bus_types::*;
| ^^^^^^^^^^^^^^^^^
= help: consider adding an explicit import of `CallError` to disambiguate
note: `CallError` could also refer to the enum imported here
--> /home/fs/.cargo/registry/src/github.com-1ecc6299db9ec823/wasm-bus-1.1.0/src/abi/mod.rs:27:9
|
27 | pub use error::*;
| ^^^^^^^^
= help: consider adding an explicit import of `CallError` to disambiguate
error[E0659]: `CallError` is ambiguous
--> /home/fs/.cargo/registry/src/github.com-1ecc6299db9ec823/wasm-bus-1.1.0/src/abi/mod.rs:124:49
|
124 | Err(_err) => syscall::fault(handle, CallError::SerializationFailed as u32),
| ^^^^^^^^^ ambiguous name
|
= note: ambiguous because of multiple glob imports of a name in the same module
note: `CallError` could refer to the enum imported here
--> /home/fs/.cargo/registry/src/github.com-1ecc6299db9ec823/wasm-bus-1.1.0/src/abi/mod.rs:37:9
|
37 | pub use wasm_bus_types::*;
| ^^^^^^^^^^^^^^^^^
= help: consider adding an explicit import of `CallError` to disambiguate
note: `CallError` could also refer to the enum imported here
--> /home/fs/.cargo/registry/src/github.com-1ecc6299db9ec823/wasm-bus-1.1.0/src/abi/mod.rs:27:9
|
27 | pub use error::*;
| ^^^^^^^^
= help: consider adding an explicit import of `CallError` to disambiguate
error[E0659]: `CallError` is ambiguous
--> /home/fs/.cargo/registry/src/github.com-1ecc6299db9ec823/wasm-bus-1.1.0/src/abi/mod.rs:130:49
|
130 | Err(_err) => syscall::fault(handle, CallError::SerializationFailed as u32),
| ^^^^^^^^^ ambiguous name
|
= note: ambiguous because of multiple glob imports of a name in the same module
note: `CallError` could refer to the enum imported here
--> /home/fs/.cargo/registry/src/github.com-1ecc6299db9ec823/wasm-bus-1.1.0/src/abi/mod.rs:37:9
|
37 | pub use wasm_bus_types::*;
| ^^^^^^^^^^^^^^^^^
= help: consider adding an explicit import of `CallError` to disambiguate
note: `CallError` could also refer to the enum imported here
--> /home/fs/.cargo/registry/src/github.com-1ecc6299db9ec823/wasm-bus-1.1.0/src/abi/mod.rs:27:9
|
27 | pub use error::*;
| ^^^^^^^^
= help: consider adding an explicit import of `CallError` to disambiguate
error[E0659]: `CallError` is ambiguous
--> /home/fs/.cargo/registry/src/github.com-1ecc6299db9ec823/wasm-bus-1.1.0/src/abi/mod.rs:154:49
|
154 | Err(_err) => syscall::fault(handle, CallError::SerializationFailed as u32),
| ^^^^^^^^^ ambiguous name
|
= note: ambiguous because of multiple glob imports of a name in the same module
note: `CallError` could refer to the enum imported here
--> /home/fs/.cargo/registry/src/github.com-1ecc6299db9ec823/wasm-bus-1.1.0/src/abi/mod.rs:37:9
|
37 | pub use wasm_bus_types::*;
| ^^^^^^^^^^^^^^^^^
= help: consider adding an explicit import of `CallError` to disambiguate
note: `CallError` could also refer to the enum imported here
--> /home/fs/.cargo/registry/src/github.com-1ecc6299db9ec823/wasm-bus-1.1.0/src/abi/mod.rs:27:9
|
27 | pub use error::*;
| ^^^^^^^^
= help: consider adding an explicit import of `CallError` to disambiguate
error[E0659]: `CallError` is ambiguous
--> /home/fs/.cargo/registry/src/github.com-1ecc6299db9ec823/wasm-bus-1.1.0/src/abi/mod.rs:160:49
|
160 | Err(_err) => syscall::fault(handle, CallError::SerializationFailed as u32),
| ^^^^^^^^^ ambiguous name
|
= note: ambiguous because of multiple glob imports of a name in the same module
note: `CallError` could refer to the enum imported here
--> /home/fs/.cargo/registry/src/github.com-1ecc6299db9ec823/wasm-bus-1.1.0/src/abi/mod.rs:37:9
|
37 | pub use wasm_bus_types::*;
| ^^^^^^^^^^^^^^^^^
= help: consider adding an explicit import of `CallError` to disambiguate
note: `CallError` could also refer to the enum imported here
--> /home/fs/.cargo/registry/src/github.com-1ecc6299db9ec823/wasm-bus-1.1.0/src/abi/mod.rs:27:9
|
27 | pub use error::*;
| ^^^^^^^^
= help: consider adding an explicit import of `CallError` to disambiguate
error[E0277]: the trait bound `u32: From<wasm_bus_types::CallError>` is not satisfied
--> /home/fs/.cargo/registry/src/github.com-1ecc6299db9ec823/wasm-bus-1.1.0/src/abi/listen.rs:57:36
|
57 | let err: u32 = err.into();
| ^^^^ the trait `From<wasm_bus_types::CallError>` is not implemented for `u32`
|
= help: the following implementations were found:
<u32 as From<Ipv4Addr>>
<u32 as From<NonZeroU32>>
<u32 as From<bool>>
<u32 as From<char>>
and 71 others
= note: required because of the requirements on the impl of `Into<u32>` for `wasm_bus_types::CallError`
error[E0277]: the trait bound `u32: From<wasm_bus_types::CallError>` is not satisfied
--> /home/fs/.cargo/registry/src/github.com-1ecc6299db9ec823/wasm-bus-1.1.0/src/abi/respond_to.rs:66:57
|
66 | let err: u32 = CallError::InvalidHandle.into();
| ^^^^ the trait `From<wasm_bus_types::CallError>` is not implemented for `u32`
|
= help: the following implementations were found:
<u32 as From<Ipv4Addr>>
<u32 as From<NonZeroU32>>
<u32 as From<bool>>
<u32 as From<char>>
and 71 others
= note: required because of the requirements on the impl of `Into<u32>` for `wasm_bus_types::CallError`
error[E0277]: the trait bound `u32: From<wasm_bus_types::CallError>` is not satisfied
--> /home/fs/.cargo/registry/src/github.com-1ecc6299db9ec823/wasm-bus-1.1.0/src/abi/respond_to.rs:79:36
|
79 | let err: u32 = err.into();
| ^^^^ the trait `From<wasm_bus_types::CallError>` is not implemented for `u32`
|
= help: the following implementations were found:
<u32 as From<Ipv4Addr>>
<u32 as From<NonZeroU32>>
<u32 as From<bool>>
<u32 as From<char>>
and 71 others
= note: required because of the requirements on the impl of `Into<u32>` for `wasm_bus_types::CallError`
error[E0277]: the trait bound `wasm_bus_types::CallError: From<u32>` is not satisfied
--> /home/fs/.cargo/registry/src/github.com-1ecc6299db9ec823/wasm-bus-1.1.0/src/abi/syscall.rs:106:62
|
106 | crate::engine::BusEngine::error(handle.into(), error.into());
| ^^^^ the trait `From<u32>` is not implemented for `wasm_bus_types::CallError`
|
= note: required because of the requirements on the impl of `Into<wasm_bus_types::CallError>` for `u32`
Some errors have detailed explanations: E0277, E0659.
These errors disappear if I use the crates from GitHub:
[target.'cfg(target_os = "wasi")'.dependencies]
wasm-bus-reqwest = { git = "https://github.com/tokera-com/ate" }
wasm-bus-process = { git = "https://github.com/tokera-com/ate" }
Please publish a new version of this library on crates.io, since the issue is obviously fixed on the master branch already.
When in a sub-directory the process can not access the parent directories (files appear missing)
If I run commands in subdirectories that attempt to access things in /etc they panic...[cry]
Any ideas why this is the case?
Wasmer.sh in vscode integrated terminals will be great experience to WAPM users.
I have concept implementation in the following repository, and the extension is also available in VSCode marketplace.
This VSCode extension works on https://vscode.dev/?vscode-coi.
Repository: https://github.com/nokotan/wasm-playground/tree/main/wasmer-terminal
MarketPlace: https://marketplace.visualstudio.com/items?itemName=KamenokoSoft.wasmer-term
I know that my current implementaion uses older version of wasmerio/ate, I don't know wasmer.sh current status.
Right now, each time that you execute ls
, the coreutils module is being compiled which is not optimal.
Ideally, the compiled modules (wasmer::Module
) would be cached so we only create the Module one time, but instantiate multiple
Tested on both mac, windows and WSL machines with the same results
I'm trying to build this project to experiment with the wasmer-web browser terminal environment (wanting to host my own wasmer.sh environment) am I missing something or steps I have to run before trying to build the wasmer-web wasm module with npm run build
in the wasmer-web directory? Error is shown below:
error: failed to load manifest for workspace member `/Users/x/repos/ate/wasmer-ssh`
Caused by:
failed to load manifest for dependency `wasmer-term`
Caused by:
failed to load manifest for dependency `wasmer-os`
Caused by:
failed to load manifest for dependency `wasmer`
Caused by:
failed to read `/Users/x/repos/wasmer/lib/api/Cargo.toml`
Caused by:
No such file or directory (os error 2)
wax is a command that runs wapm execute XYZ
under the hood.
This command does two things:
XYZ
in the wapm command databasewapm run
)More info here: https://medium.com/wasmer/introducing-wax-a-webassembly-package-runner-d69943209d58
Since wapm run
is now fully implemented I think we should be quite close to be able to run wax
in the terminal!
Ctrl-C not working as expected (regression) with wasm-matrix.
To reproduce, run in the shell:
wapm install torch2424/wasm-matrix
wasm-matrix -c 30 -l 10
# try Ctrl-C
I think the root cause was using the onData, as I believe this command was working before.
Probably we might need to use onKey for the Ctrl-C
The following command fails:
wapm install python
And then
wapm run python
Fails with:
exec error: wasi filesystem creation error: `Could not get metadata for file "lib:/wapm_packages/_/[email protected]/lib": fd not a directory`
Error: wapm bus error - there was an error while deserializing the request or response.
This before gracefully failed via a WASI error (but was booting Python successfully)
Safari 15.2 adds support for SharedArrayBuffers
, which makes it "kind of" work with an old version of ate.
However, I tried tokera.sh with the new Safari and it breaks because of the usage of nested webworkers.
WebWorkers are also supported in Safari, but it doesn't support nested WebWorkers (a Worker can't create another Worker. See Webkit issue).
If we are able to create webworkers from the root document instead of the inner workers, it would make Safari happy and 100% compatible with the shell (including having the shell fully working on iOS)
Assuming a similar xterm.js package exists in the Rust world, it could be super interesting to run the wasm terminal as a native desktop app so all the processes that it executes are fully sandboxed.
The program topolarity/zig
will work properly with wapm in the server, but not in the browser
https://wapm.io/topolarity/zig
Steps:
wapm install topolarity/zig
example.zig
const std = @import("std");
pub fn main() void {
const stdout = std.io.getStdOut();
stdout.writeAll("Hello world!") catch unreachable;
}
zig build-exe example.zig -target wasm32-wasi
Using latest wasmer wasix branch, the codebase doesn't compile in wasmer-web:
$ cd wasmer-web
$ npm install
$ npm run build
[...]
error[E0107]: missing generics for trait `VirtualBus`
--> wasmer-os/src/eval/runtime.rs:141:6
|
141 | impl VirtualBus
| ^^^^^^^^^^ expected 1 generic argument
|
note: trait defined here, with 1 generic parameter: `T`
--> /Users/syrusakbary/Development/wasmer/lib/vbus/src/lib.rs:28:11
|
28 | pub trait VirtualBus<T>: fmt::Debug + Send + Sync + 'static
| ^^^^^^^^^^ -
help: add missing generic argument
|
141 | impl VirtualBus<T>
| ~~~~~~~~~~~~~
error[E0107]: missing generics for trait `VirtualBusSpawner`
--> wasmer-os/src/eval/runtime.rs:253:6
|
253 | impl VirtualBusSpawner
| ^^^^^^^^^^^^^^^^^ expected 1 generic argument
|
note: trait defined here, with 1 generic parameter: `T`
--> /Users/syrusakbary/Development/wasmer/lib/vbus/src/lib.rs:42:11
|
42 | pub trait VirtualBusSpawner<T> {
| ^^^^^^^^^^^^^^^^^ -
help: add missing generic argument
|
253 | impl VirtualBusSpawner<T>
| ~~~~~~~~~~~~~~~~~~~~
error[E0107]: missing generics for trait `VirtualBus`
--> wasmer-os/src/eval/runtime.rs:94:38
|
94 | fn bus<'a>(&'a self) -> &'a (dyn VirtualBus) {
| ^^^^^^^^^^ expected 1 generic argument
|
note: trait defined here, with 1 generic parameter: `T`
--> /Users/syrusakbary/Development/wasmer/lib/vbus/src/lib.rs:28:11
|
28 | pub trait VirtualBus<T>: fmt::Debug + Send + Sync + 'static
| ^^^^^^^^^^ -
help: add missing generic argument
|
94 | fn bus<'a>(&'a self) -> &'a (dyn VirtualBus<T>) {
| ~~~~~~~~~~~~~
error[E0107]: missing generics for struct `SpawnOptions`
--> wasmer-os/src/eval/runtime.rs:144:28
|
144 | fn new_spawn(&self) -> SpawnOptions {
| ^^^^^^^^^^^^ expected 1 generic argument
|
note: struct defined here, with 1 generic parameter: `T`
--> /Users/syrusakbary/Development/wasmer/lib/vbus/src/lib.rs:108:12
|
108 | pub struct SpawnOptions<T> {
| ^^^^^^^^^^^^ -
help: add missing generic argument
|
144 | fn new_spawn(&self) -> SpawnOptions<T> {
| ~~~~~~~~~~~~~~~
error[E0107]: missing generics for struct `SpawnOptionsConfig`
--> wasmer-os/src/eval/runtime.rs:169:50
|
169 | pub fn spawn(&mut self, name: &str, config: &SpawnOptionsConfig) -> Result<LaunchResult<EvalResult>, VirtualBusError>
| ^^^^^^^^^^^^^^^^^^ expected 1 generic argument
|
note: struct defined here, with 1 generic parameter: `T`
--> /Users/syrusakbary/Development/wasmer/lib/vbus/src/lib.rs:48:12
|
48 | pub struct SpawnOptionsConfig<T> {
| ^^^^^^^^^^^^^^^^^^ -
help: add missing generic argument
|
169 | pub fn spawn(&mut self, name: &str, config: &SpawnOptionsConfig<T>) -> Result<LaunchResult<EvalResult>, VirtualBusError>
| ~~~~~~~~~~~~~~~~~~~~~
error[E0107]: missing generics for struct `SpawnOptionsConfig`
--> wasmer-os/src/eval/runtime.rs:175:55
|
175 | fn spawn_internal(&mut self, name: &str, config: &SpawnOptionsConfig) -> Result<RuntimeProcessSpawned, VirtualBusError>
| ^^^^^^^^^^^^^^^^^^ expected 1 generic argument
|
note: struct defined here, with 1 generic parameter: `T`
--> /Users/syrusakbary/Development/wasmer/lib/vbus/src/lib.rs:48:12
|
48 | pub struct SpawnOptionsConfig<T> {
| ^^^^^^^^^^^^^^^^^^ -
help: add missing generic argument
|
175 | fn spawn_internal(&mut self, name: &str, config: &SpawnOptionsConfig<T>) -> Result<RuntimeProcessSpawned, VirtualBusError>
| ~~~~~~~~~~~~~~~~~~~~~
error[E0107]: missing generics for struct `BusSpawnedProcess`
--> wasmer-os/src/eval/runtime.rs:256:76
|
256 | fn spawn(&mut self, name: &str, config: &SpawnOptionsConfig) -> Result<BusSpawnedProcess, VirtualBusError>
| ^^^^^^^^^^^^^^^^^ expected 1 generic argument
|
note: struct defined here, with 1 generic parameter: `T`
--> /Users/syrusakbary/Development/wasmer/lib/vbus/src/lib.rs:199:12
|
199 | pub struct BusSpawnedProcess<T> {
| ^^^^^^^^^^^^^^^^^ -
help: add missing generic argument
|
256 | fn spawn(&mut self, name: &str, config: &SpawnOptionsConfig) -> Result<BusSpawnedProcess<T>, VirtualBusError>
| ~~~~~~~~~~~~~~~~~~~~
error[E0107]: missing generics for struct `SpawnOptionsConfig`
--> wasmer-os/src/eval/runtime.rs:256:46
|
256 | fn spawn(&mut self, name: &str, config: &SpawnOptionsConfig) -> Result<BusSpawnedProcess, VirtualBusError>
| ^^^^^^^^^^^^^^^^^^ expected 1 generic argument
|
note: struct defined here, with 1 generic parameter: `T`
--> /Users/syrusakbary/Development/wasmer/lib/vbus/src/lib.rs:48:12
|
48 | pub struct SpawnOptionsConfig<T> {
| ^^^^^^^^^^^^^^^^^^ -
help: add missing generic argument
|
256 | fn spawn(&mut self, name: &str, config: &SpawnOptionsConfig<T>) -> Result<BusSpawnedProcess, VirtualBusError>
Figlet is no longer working:
wapm install syrusakbary/figlet
figlet "Hello"
This should return:
_ _ _ _ _
| | | | ___| | | ___ | |
| |_| |/ _ \ | |/ _ \| |
| _ | __/ | | (_) |_|
|_| |_|\___|_|_|\___/(_)
But it returns:
figlet: standard: Unable to open font file
(figlet was working before, I believe the clang/zig fixes might have broken it)
When running qjs
the following error happens:
tokera.sh:/$ qjs
QuickJS - Type "\h" for help
qjs > exec error: RuntimeError:
I think it may be caused by this commit, but I'm not super sure: bd2bef2
I saw that cd
was recently implemented, but executing pwd
raises an error
When performance is more important, this would be very needed, especially in uses cases with embedded.
Currently, bash redirection (pipe the stdout to a file) doesn't work.
Ideally, something like: echo "a" > /file
would create a file with "a" in it :)
This program used to work, now it returns an error:
wapm install syrusakbary/clang
echo 'int printf(const char *, ...); int main(){printf("hello world!\n");}' | clang -cc1 -triple wasm32-unkown-wasi -isysroot /sys -internal-isystem /sys/include -emit-obj -o ./obj.o -
Right now this doesn't work
cowsay hello!
Should output:
________
< hello! >
--------
\ ^__^
\ (oo)\_______
(__)\ )\/\
||----w |
|| ||
Would you consider changing the license to an MIT-like one? Using a strong copyleft license for a "database"-like software is a bit weird and will probably stop a lot people from using it :-|
This doesn't work
$mkdir /play
$ cd /play
$ wapm install topolarity/zig
$ zig build-exe ./example.zig
But this work:
zig build-exe /play/example.zig
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.