Comments (7)
只是不知为何档案大小18mb,与网上2~3mb差这么多?
Release 里面的版本使用了 UPX 进行压缩,自行编译的版本需要手动进行这个操作。
from cloudflarespeedtest-rust.
Rust itself is a cross-platform language, you can compile it yourself
Rust本身是跨平台语言,你可以自行编译
from cloudflarespeedtest-rust.
Rust本身是跨平台语言,你可以自行编译
虽然这么说,但相关的库并非如此。例如这个项目使用的openssl,我在交叉编译时失败了。我试图用rustls代替它,但它的一个依赖(ring)又构建失败了。
我之后可能需要考虑在虚拟机里构建。但最近比较忙,没时间搞了。
from cloudflarespeedtest-rust.
Rust本身是跨平台语言,你可以自行编译
虽然这么说,但相关的库并非如此。例如这个项目使用的openssl,我在交叉编译时失败了。我试图用rustls代替它,但它的一个依赖(ring)又构建失败了。
我之后可能需要考虑在虚拟机里构建。但最近比较忙,没时间搞了。
As a Rust novice, I'm trying to figure this out, but I'm failing.
作为一个Rust新手,我试图去解决这个问题,但是我失败了。
I am very confused and puzzled why there is no sane https client in the Rust repository
我感到非常困惑和不解,为什么Rust仓库里面,一个健全的https客户端都没有
It is impossible to find a https library that supports tustls and supports specifying Header or specifying Host at the same time
想找一个支持tustls的https库,同时支持指定Header或者指定Host的库简直就是不可能的事情
from cloudflarespeedtest-rust.
Compiling async-recursion v1.0.4 Compiling relative-path v1.8.0 Compiling cfst v2.2.2 (/home/ubuntu/cloudflare-speed-test-rust) error: The default runtime flavor is
multi_thread, but the
rt-multi-threadfeature is disabled. --> src/main.rs:8:1 | 8 | #[tokio::main] | ^^^^^^^^^^^^^^ | = note: this error originates in the attribute macro
tokio::main` (in Nightly builds, run with -Z macro-backtrace for more info)
error: could not compile cfst
due to previous error
`
今天在arm64(ubuntu)下编译,出现这个错误。
估计其它library都好了,就主程序无法正常编译。
from cloudflarespeedtest-rust.
@delphinuz 试试现在的 main
分支,开了那个 rt-multi-thread
的 feature
from cloudflarespeedtest-rust.
我是几小时前 使用
git clone https://github.com/lixiang810/cloudflare-speed-test-rust
拉下来的,应是最新的?
我再试一次,谢谢。
更新:
可以了,只是不知为何档案大小18mb,与网上2~3mb差这么多?
在甲骨文arm上编译可以运行,复制到路由上(armv8)却无法运行。
from cloudflarespeedtest-rust.
Related Issues (15)
- English support HOT 4
- Is it possible to get the latest ip address range from cloudflare instead of the existing hardcoded pattern? HOT 2
- Some ideas to improve user experience 一些提升用户体验的想法 HOT 2
- 该ip段无法测试 HOT 4
- 运行失败 HOT 19
- 间歇性程序卡顿 HOT 1
- Cutom IP's HOT 19
- ipv6 support HOT 14
- IP list integration HOT 1
- Android Termux HOT 2
- 使用自定义ip报错如下 HOT 16
- ip列表出现报错 HOT 1
- 有的时候测速不显示结果 HOT 4
- 当测试ip小于十位数,无法进行下载测速 HOT 6
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 cloudflarespeedtest-rust.