Comments (9)
It should work for now. @morristai
If there are any other problems, please let us know.
from microservice-rust-mysql.
It works now, you guys are awesome!! 💯
from microservice-rust-mysql.
Maybe related to this issue: WasmEdge/rust-mysql-simple-wasi#5
from microservice-rust-mysql.
This error is caused by a recent commit of crossbeam
We will fix this with crossbeam.
from microservice-rust-mysql.
Can we fix our dependency to a specific version of crossbeam for now? It may take time for them to release a new version.
from microservice-rust-mysql.
yes, adding these lines in Cargo.toml
will fix this issue temporarily on Linux
[patch.crates-io]
crossbeam-utils = { git = "https://github.com/crossbeam-rs/crossbeam.git", rev="46d0aeb" }
crossbeam-queue = { git = "https://github.com/crossbeam-rs/crossbeam.git", rev="46d0aeb" }
crossbeam-epoch = { git = "https://github.com/crossbeam-rs/crossbeam.git", rev="46d0aeb" }
However, it doesn't work on macOS because libz
can not be compiled for wasi.
This can be fixed by editing async_mysql
from microservice-rust-mysql.
I mean to change the deps in mysql_async_wasi
to fix it at a version of crossbeam that works?
from microservice-rust-mysql.
Fixing the version of crossbeam doesn't work cause we do not depend on crossbeam-utils directly.
but adding these patches to async_mysql
works indeed.
from microservice-rust-mysql.
Crossbeam has fixed the problem. It should work on linux without any modification.
But for macos, we need to modify async_mysql
a bit.
from microservice-rust-mysql.
Related Issues (13)
- operating system is not supported HOT 3
- docker-desktop cannot build it HOT 4
- start server failed HOT 2
- Dockerfile build: unknown flag: link HOT 16
- /root/.wasmedge/bin/wasmedgec: not found HOT 5
- docs: write a guide for setting up the docker+wasm on linux HOT 3
- ERROR [server build 3/5] RUN cargo build --target wasm32-wasi --release HOT 2
- bug: DNS not resolving service name to IP address HOT 8
- bug: running cargo in readme.md fails HOT 2
- Compile error in MacOS Big Sur 11.6.8 HOT 10
- Sample application doesn't work as expected. HOT 7
- windows10下wasmedge执行,端口绑定不了 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from microservice-rust-mysql.