Comments (5)
The unmask
issue is caused by assumptions that the assembly is being built against a Darwin ABI, where all C symbols are prefixed with an underscore. On ELF ABI, this is not the case.
Working on making the assembly portable and will drop a PR this evening.
from fastwebsockets.
My build was with clang-14, but it seems that this ASM might need some help.
from fastwebsockets.
Tagged 0.1.3
and will be in Deno next patch release denoland/deno#18684
from fastwebsockets.
The errors I get are:
cargo:warning=src/m_arm64_neon.S: Assembler messages:
cargo:warning=src/m_arm64_neon.S:46: Error: unknown mnemonic `eor.16b' -- `eor.16b v2,v2,v0'
cargo:warning=src/m_arm64_neon.S:47: Error: unknown mnemonic `eor.16b' -- `eor.16b v3,v3,v1'
cargo:warning=src/m_arm64_neon.S:68: Error: unknown mnemonic `eor.8b' -- `eor.8b v1,v1,v0'
Which leads me to this StackOverflow answer - Assembly unknown mnemonic AArch64 ARMv8
I don't believe AArch64 binutils has any way to support the Apple syntax, so I think the available solutions are limited to "fix the code up manually" or "try Clang/LLVM instead".
So I guess this can't compile with GCC?
from fastwebsockets.
Beautiful. Thanks @littledivy .
from fastwebsockets.
Related Issues (20)
- Please give an example to connect to websocket url in async way HOT 1
- Encountering numerous errors when trying to run a TLS client example in a new Rust project HOT 6
- Both `read_frame` and `write_frame` are `&mut self`? HOT 1
- Add function to split a WebSocket into a read half and a write half HOT 5
- Library is not thread safe HOT 9
- Reconnecting on disconnect
- Error in websocket connection: Unexpected EOF HOT 1
- Error: Invalid status code on examples/tls_client.ts
- proxy HOT 1
- Support futures / async-std traits
- Update hyper to v1.0.x HOT 2
- Axum integration HOT 2
- Benchmark Clairity HOT 1
- What about the latest version of handshake? HOT 5
- Support HTTP2 HOT 2
- split stream, what is latest status of feature `unstable-split`? HOT 5
- Can't import OpCOde HOT 2
- Any benchmark on ws recv? HOT 1
- Zero unsafe usage HOT 3
- How to close a websocket connection? HOT 1
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 fastwebsockets.