当前位置: 首页 > news >正文

你好rust

第一次安装rust,记录一下笔记。

几年前就听说过rust,自己一直是个c++爱好者,所以比较抵触rust,早年还有什么rust向上突破群。一直比较抵触,直到这几年rust已经渐渐深入到linux内核、云原生可观测以及zend社区当中,所以渐渐也接受了rust。

独立安装rust:

wget https://static.rust-lang.org/dist/rust-1.65.0-x86_64-unknown-linux-gnu.tar.gz
tar zxvf rust-1.65.0-x86_64-unknown-linux-gnu.tar.gz
cd rust-1.65.0-x86_64-unknown-linux-gnu
./install.sh --prefix=/usr

如果出现错误:

PHP_CONFIG=php-config cargo build --release 
info: syncing channel updates for '1.65-x86_64-unknown-linux-gnu'
error: could not download file from 'https://static.rust-lang.org/dist/channel-rust-1.65.toml.sha256' to '/root/.rustup/tmp/rjx7lqowlbfhxgt8_file': error during download: [60] SSL peer certificate or SSH remote key was not OK (SSL certificate problem: unable to get local issuer certificate)
make: *** [Makefile:201: cargo_build] Error 1
 

可以对ca 证书更新:

mkdir -p /root/backup/openssl/bin/openssl
mv /usr/local/bin/openssl /root/backup/openssl/bin/openssl
mv /usr/local/ssl /root/backup/openssl/
update-ca-certificates

更新成功后,更新依赖

root@zhanglei-HP-ZHAN-66-Pro-14-inch-G5-Notebook-PC:/home/zhanglei/swoole-monitor/skywalking-php# make -j4
PHP_CONFIG=php-config cargo build --release Updating `ustc` index
warning: spurious network error (2 tries remaining): [35] SSL connect error (OpenSSL SSL_connect: Connection reset by peer in connection to crates-io.proxy.ustclug.org:443 )
warning: spurious network error (2 tries remaining): [35] SSL connect error (OpenSSL SSL_connect: Connection reset by peer in connection to crates-io.proxy.ustclug.org:443 )
warning: spurious network error (2 tries remaining): [35] SSL connect error (OpenSSL SSL_connect: Connection reset by peer in connection to crates-io.proxy.ustclug.org:443 )
warning: spurious network error (2 tries remaining): [35] SSL connect error (OpenSSL SSL_connect: Connection reset by peer in connection to crates-io.proxy.ustclug.org:443 )
warning: spurious network error (2 tries remaining): [35] SSL connect error (OpenSSL SSL_connect: Connection reset by peer in connection to crates-io.proxy.ustclug.org:443 )
warning: spurious network error (2 tries remaining): [35] SSL connect error (OpenSSL SSL_connect: Connection reset by peer in connection to crates-io.proxy.ustclug.org:443 )
warning: spurious network error (2 tries remaining): [35] SSL connect error (OpenSSL SSL_connect: Connection reset by peer in connection to crates-io.proxy.ustclug.org:443 )
warning: spurious network error (2 tries remaining): [35] SSL connect error (OpenSSL SSL_connect: Connection reset by peer in connection to crates-io.proxy.ustclug.org:443 )
warning: spurious network error (2 tries remaining): [35] SSL connect error (OpenSSL SSL_connect: Connection reset by peer in connection to crates-io.proxy.ustclug.org:443 )
warning: spurious network error (2 tries remaining): [35] SSL connect error (OpenSSL SSL_connect: Connection reset by peer in connection to crates-io.proxy.ustclug.org:443 )
warning: spurious network error (2 tries remaining): [35] SSL connect error (OpenSSL SSL_connect: Connection reset by peer in connection to crates-io.proxy.ustclug.org:443 )
warning: spurious network error (2 tries remaining): [35] SSL connect error (OpenSSL SSL_connect: Connection reset by peer in connection to crates-io.proxy.ustclug.org:443 )
warning: spurious network error (2 tries remaining): [35] SSL connect error (OpenSSL SSL_connect: Connection reset by peer in connection to crates-io.proxy.ustclug.org:443 )
warning: spurious network error (2 tries remaining): [35] SSL connect error (OpenSSL SSL_connect: Connection reset by peer in connection to crates-io.proxy.ustclug.org:443 )
warning: spurious network error (2 tries remaining): [35] SSL connect error (OpenSSL SSL_connect: Connection reset by peer in connection to crates-io.proxy.ustclug.org:443 )
warning: spurious network error (2 tries remaining): [35] SSL connect error (OpenSSL SSL_connect: Connection reset by peer in connection to crates-io.proxy.ustclug.org:443 )
warning: spurious network error (2 tries remaining): [35] SSL connect error (OpenSSL SSL_connect: Connection reset by peer in connection to crates-io.proxy.ustclug.org:443 )
warning: spurious network error (2 tries remaining): [35] SSL connect error (OpenSSL SSL_connect: Connection reset by peer in connection to crates-io.proxy.ustclug.org:443 )
warning: spurious network error (2 tries remaining): [35] SSL connect error (OpenSSL SSL_connect: Connection reset by peer in connection to crates-io.proxy.ustclug.org:443 )
warning: spurious network error (2 tries remaining): [35] SSL connect error (OpenSSL SSL_connect: Connection reset by peer in connection to crates-io.proxy.ustclug.org:443 )
warning: spurious network error (2 tries remaining): [35] SSL connect error (OpenSSL SSL_connect: Connection reset by peer in connection to crates-io.proxy.ustclug.org:443 )
warning: spurious network error (2 tries remaining): [35] SSL connect error (OpenSSL SSL_connect: Connection reset by peer in connection to crates-io.proxy.ustclug.org:443 )
warning: spurious network error (2 tries remaining): [35] SSL connect error (OpenSSL SSL_connect: Connection reset by peer in connection to crates-io.proxy.ustclug.org:443 )
warning: spurious network error (2 tries remaining): [35] SSL connect error (OpenSSL SSL_connect: Connection reset by peer in connection to crates-io.proxy.ustclug.org:443 )
warning: spurious network error (2 tries remaining): [35] SSL connect error (OpenSSL SSL_connect: Connection reset by peer in connection to crates-io.proxy.ustclug.org:443 )
warning: spurious network error (2 tries remaining): [35] SSL connect error (OpenSSL SSL_connect: Connection reset by peer in connection to crates-io.proxy.ustclug.org:443 )
warning: spurious network error (2 tries remaining): [35] SSL connect error (OpenSSL SSL_connect: Connection reset by peer in connection to crates-io.proxy.ustclug.org:443 )
warning: spurious network error (2 tries remaining): [35] SSL connect error (OpenSSL SSL_connect: Connection reset by peer in connection to crates-io.proxy.ustclug.org:443 )
warning: spurious network error (2 tries remaining): [35] SSL connect error (OpenSSL SSL_connect: Connection reset by peer in connection to crates-io.proxy.ustclug.org:443 )
warning: spurious network error (2 tries remaining): [35] SSL connect error (OpenSSL SSL_connect: Connection reset by peer in connection to crates-io.proxy.ustclug.org:443 )
warning: spurious network error (2 tries remaining): [35] SSL connect error (OpenSSL SSL_connect: Connection reset by peer in connection to crates-io.proxy.ustclug.org:443 )
warning: spurious network error (2 tries remaining): [35] SSL connect error (OpenSSL SSL_connect: Connection reset by peer in connection to crates-io.proxy.ustclug.org:443 )
warning: spurious network error (2 tries remaining): [35] SSL connect error (OpenSSL SSL_connect: Connection reset by peer in connection to crates-io.proxy.ustclug.org:443 )
warning: spurious network error (2 tries remaining): [35] SSL connect error (OpenSSL SSL_connect: Connection reset by peer in connection to crates-io.proxy.ustclug.org:443 )
warning: spurious network error (2 tries remaining): [35] SSL connect error (OpenSSL SSL_connect: Connection reset by peer in connection to crates-io.proxy.ustclug.org:443 )
warning: spurious network error (2 tries remaining): [35] SSL connect error (OpenSSL SSL_connect: Connection reset by peer in connection to crates-io.proxy.ustclug.org:443 )
warning: spurious network error (2 tries remaining): [35] SSL connect error (OpenSSL SSL_connect: Connection reset by peer in connection to crates-io.proxy.ustclug.org:443 )
warning: spurious network error (2 tries remaining): [35] SSL connect error (OpenSSL SSL_connect: Connection reset by peer in connection to crates-io.proxy.ustclug.org:443 )
warning: spurious network error (2 tries remaining): [35] SSL connect error (OpenSSL SSL_connect: Connection reset by peer in connection to crates-io.proxy.ustclug.org:443 )
warning: spurious network error (2 tries remaining): [35] SSL connect error (OpenSSL SSL_connect: Connection reset by peer in connection to crates-io.proxy.ustclug.org:443 )
warning: spurious network error (2 tries remaining): [35] SSL connect error (OpenSSL SSL_connect: Connection reset by peer in connection to crates-io.proxy.ustclug.org:443 )
warning: spurious network error (2 tries remaining): [35] SSL connect error (OpenSSL SSL_connect: Connection reset by peer in connection to crates-io.proxy.ustclug.org:443 )
warning: spurious network error (2 tries remaining): [35] SSL connect error (OpenSSL SSL_connect: Connection reset by peer in connection to crates-io.proxy.ustclug.org:443 )
warning: spurious network error (2 tries remaining): [35] SSL connect error (OpenSSL SSL_connect: Connection reset by peer in connection to crates-io.proxy.ustclug.org:443 )
warning: spurious network error (2 tries remaining): [35] SSL connect error (OpenSSL SSL_connect: Connection reset by peer in connection to crates-io.proxy.ustclug.org:443 )
warning: spurious network error (2 tries remaining): [35] SSL connect error (OpenSSL SSL_connect: Connection reset by peer in connection to crates-io.proxy.ustclug.org:443 )
warning: spurious network error (2 tries remaining): [35] SSL connect error (OpenSSL SSL_connect: Connection reset by peer in connection to crates-io.proxy.ustclug.org:443 )
warning: spurious network error (2 tries remaining): [35] SSL connect error (OpenSSL SSL_connect: Connection reset by peer in connection to crates-io.proxy.ustclug.org:443 )Downloaded tonic v0.8.3 (registry `ustc`)Downloaded futures-core v0.3.28 (registry `ustc`)Downloaded futures-task v0.3.28 (registry `ustc`)Downloaded glob v0.3.1 (registry `ustc`)Downloaded heck v0.4.1 (registry `ustc`)Downloaded httparse v1.8.0 (registry `ustc`)Downloaded idna v0.4.0 (registry `ustc`)Downloaded libloading v0.7.4 (registry `ustc`)Downloaded itoa v1.0.9 (registry `ustc`)Downloaded log v0.4.19 (registry `ustc`)Downloaded memchr v2.5.0 (registry `ustc`)Downloaded mio v0.8.8 (registry `ustc`)Downloaded num_cpus v1.16.0 (registry `ustc`)Downloaded parking_lot v0.12.1 (registry `ustc`)Downloaded phper-macros v0.12.0 (registry `ustc`)Downloaded petgraph v0.6.3 (registry `ustc`)Downloaded pin-project-lite v0.2.10 (registry `ustc`)Downloaded addr2line v0.20.0 (registry `ustc`)Downloaded fixedbitset v0.4.2 (registry `ustc`)Downloaded quote v1.0.32 (registry `ustc`)Downloaded rustc_version v0.4.0 (registry `ustc`)Downloaded regex v1.9.1 (registry `ustc`)Downloaded rustversion v1.0.14 (registry `ustc`)Downloaded semver v1.0.18 (registry `ustc`)Downloaded regex-syntax v0.7.4 (registry `ustc`)Downloaded signal-hook-registry v1.4.1 (registry `ustc`)Downloaded serde_path_to_error v0.1.14 (registry `ustc`)Downloaded socket2 v0.4.9 (registry `ustc`)Downloaded thiserror-impl v1.0.44 (registry `ustc`)Downloaded sync_wrapper v0.1.2 (registry `ustc`)Downloaded tinyvec v1.6.0 (registry `ustc`)Downloaded tokio-macros v2.1.0 (registry `ustc`)Downloaded slab v0.4.8 (registry `ustc`)Downloaded multimap v0.8.3 (registry `ustc`)Downloaded matchit v0.7.1 (registry `ustc`)Downloaded indexmap v2.0.0 (registry `ustc`)Downloaded libz-sys v1.1.12 (registry `ustc`)Downloaded linux-raw-sys v0.4.5 (registry `ustc`)Downloaded itertools v0.10.5 (registry `ustc`)
warning: spurious network error (2 tries remaining): [35] SSL connect error (OpenSSL SSL_connect: Connection reset by peer in connection to static-crates-io.proxy.ustclug.org:443 )Downloaded lazy_static v1.4.0 (registry `ustc`)Downloaded lazycell v1.3.0 (registry `ustc`)Downloaded lock_api v0.4.10 (registry `ustc`)Downloaded matchers v0.1.0 (registry `ustc`)Downloaded match_cfg v0.1.0 (registry `ustc`)Downloaded mime v0.3.17 (registry `ustc`)Downloaded miniz_oxide v0.7.1 (registry `ustc`)Downloaded minimal-lexical v0.2.1 (registry `ustc`)Downloaded nu-ansi-term v0.46.0 (registry `ustc`)Downloaded overload v0.1.1 (registry `ustc`)Downloaded nom v7.1.3 (registry `ustc`)Downloaded object v0.31.1 (registry `ustc`)Downloaded equivalent v1.0.1 (registry `ustc`)Downloaded libc v0.2.147 (registry `ustc`)Downloaded unicode-normalization v0.1.22 (registry `ustc`)Downloaded untrusted v0.7.1 (registry `ustc`)Downloaded url v2.4.0 (registry `ustc`)Downloaded uuid v1.4.1 (registry `ustc`)Downloaded vcpkg v0.2.15 (registry `ustc`)Downloaded want v0.3.1 (registry `ustc`)Downloaded webpki v0.22.0 (registry `ustc`)Downloaded which v4.4.0 (registry `ustc`)
warning: spurious network error (2 tries remaining): [35] SSL connect error (OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to static-crates-io.proxy.ustclug.org:443 )Downloaded async-stream-impl v0.3.5 (registry `ustc`)Downloaded adler v1.0.2 (registry `ustc`)Downloaded axum-core v0.3.4 (registry `ustc`)Downloaded bincode v1.3.3 (registry `ustc`)Downloaded bytes v1.4.0 (registry `ustc`)Downloaded cfg-if v1.0.0 (registry `ustc`)Downloaded derive_more v0.99.17 (registry `ustc`)Downloaded prost v0.11.9 (registry `ustc`)Downloaded portable-atomic v1.4.2 (registry `ustc`)Downloaded once_cell v1.18.0 (registry `ustc`)Downloaded axum v0.6.19 (registry `ustc`)Downloaded backtrace v0.3.68 (registry `ustc`)Downloaded base64 v0.13.1 (registry `ustc`)Downloaded bindgen v0.63.0 (registry `ustc`)Downloaded form_urlencoded v1.2.0 (registry `ustc`)Downloaded fnv v1.0.7 (registry `ustc`)Downloaded cexpr v0.6.0 (registry `ustc`)Downloaded futures-io v0.3.28 (registry `ustc`)Downloaded futures-channel v0.3.28 (registry `ustc`)Downloaded futures-sink v0.3.28 (registry `ustc`)Downloaded futures-macro v0.3.28 (registry `ustc`)Downloaded futures-util v0.3.28 (registry `ustc`)Downloaded getrandom v0.2.10 (registry `ustc`)Downloaded gimli v0.27.3 (registry `ustc`)Downloaded h2 v0.3.20 (registry `ustc`)Downloaded hashbrown v0.12.3 (registry `ustc`)Downloaded hashbrown v0.14.0 (registry `ustc`)Downloaded hostname v0.3.1 (registry `ustc`)Downloaded http v0.2.9 (registry `ustc`)Downloaded http-body v0.4.5 (registry `ustc`)Downloaded httpdate v1.0.2 (registry `ustc`)Downloaded hyper v0.14.27 (registry `ustc`)Downloaded hyper-timeout v0.4.1 (registry `ustc`)Downloaded pin-utils v0.1.0 (registry `ustc`)Downloaded pin-project-internal v1.1.2 (registry `ustc`)Downloaded pin-project v1.1.2 (registry `ustc`)Downloaded phper-sys v0.12.1 (registry `ustc`)Downloaded phper-alloc v0.12.0 (registry `ustc`)Downloaded phper v0.12.0 (registry `ustc`)Downloaded percent-encoding v2.3.0 (registry `ustc`)Downloaded peeking_take_while v0.1.2 (registry `ustc`)Downloaded parking_lot_core v0.9.8 (registry `ustc`)Downloaded indexmap v1.9.3 (registry `ustc`)Downloaded portable-atomic v0.3.20 (registry `ustc`)Downloaded pkg-config v0.3.27 (registry `ustc`)Downloaded rustc-demangle v0.1.23 (registry `ustc`)Downloaded phper-build v0.12.0 (registry `ustc`)Downloaded prettyplease v0.1.25 (registry `ustc`)Downloaded tracing v0.1.37 (registry `ustc`)Downloaded tempfile v3.7.0 (registry `ustc`)Downloaded tokio-util v0.7.8 (registry `ustc`)Downloaded tonic-build v0.8.4 (registry `ustc`)Downloaded tower v0.4.13 (registry `ustc`)Downloaded tower-service v0.3.2 (registry `ustc`)Downloaded tracing-attributes v0.1.26 (registry `ustc`)Downloaded tower-layer v0.3.2 (registry `ustc`)
warning: spurious network error (2 tries remaining): [35] SSL connect error (OpenSSL SSL_connect: Connection reset by peer in connection to static-crates-io.proxy.ustclug.org:443 )
warning: spurious network error (2 tries remaining): [35] SSL connect error (OpenSSL SSL_connect: Connection reset by peer in connection to static-crates-io.proxy.ustclug.org:443 )Downloaded tracing-core v0.1.31 (registry `ustc`)Downloaded tracing-log v0.1.3 (registry `ustc`)Downloaded tracing-futures v0.2.5 (registry `ustc`)Downloaded try-lock v0.2.4 (registry `ustc`)Downloaded tracing-subscriber v0.3.17 (registry `ustc`)Downloaded unicode-bidi v0.3.13 (registry `ustc`)Downloaded unicode-ident v1.0.11 (registry `ustc`)Downloaded rand_core v0.6.4 (registry `ustc`)Downloaded bytesize v1.2.0 (registry `ustc`)Downloaded time-core v0.1.1 (registry `ustc`)Downloaded anyhow v1.0.72 (registry `ustc`)Downloaded thread_local v1.1.4 (registry `ustc`)Downloaded spin v0.5.2 (registry `ustc`)Downloaded async-trait v0.1.72 (registry `ustc`)Downloaded async-stream v0.3.5 (registry `ustc`)Downloaded ring v0.16.20 (registry `ustc`)Downloaded rustls v0.20.8 (registry `ustc`)Downloaded systemstat v0.2.3 (registry `ustc`)Downloaded thiserror v1.0.44 (registry `ustc`)Downloaded aho-corasick v1.0.2 (registry `ustc`)Downloaded time v0.3.23 (registry `ustc`)Downloaded tinyvec_macros v0.1.1 (registry `ustc`)Downloaded tokio-io-timeout v1.2.0 (registry `ustc`)Downloaded tokio-rustls v0.23.4 (registry `ustc`)Downloaded tokio-stream v0.1.14 (registry `ustc`)Downloaded bitflags v1.3.2 (registry `ustc`)Downloaded bitflags v2.3.3 (registry `ustc`)Downloaded clang-sys v1.6.1 (registry `ustc`)Downloaded cc v1.0.80 (registry `ustc`)Downloaded convert_case v0.4.0 (registry `ustc`)Downloaded dashmap v5.5.0 (registry `ustc`)Downloaded tokio v1.29.1 (registry `ustc`)
warning: spurious network error (2 tries remaining): [56] Failure when receiving data from the peer (Connection died, tried 5 times before giving up)
warning: spurious network error (2 tries remaining): [56] Failure when receiving data from the peer (Connection died, tried 5 times before giving up)
warning: spurious network error (2 tries remaining): [56] Failure when receiving data from the peer (Connection died, tried 5 times before giving up)
warning: spurious network error (2 tries remaining): [56] Failure when receiving data from the peer (Connection died, tried 5 times before giving up)
warning: spurious network error (2 tries remaining): [56] Failure when receiving data from the peer (Connection died, tried 5 times before giving up)
warning: spurious network error (2 tries remaining): [56] Failure when receiving data from the peer (Connection died, tried 5 times before giving up)
warning: spurious network error (2 tries remaining): [56] Failure when receiving data from the peer (Connection died, tried 5 times before giving up)
warning: spurious network error (2 tries remaining): [56] Failure when receiving data from the peer (Connection died, tried 5 times before giving up)
warning: spurious network error (2 tries remaining): [56] Failure when receiving data from the peer (Connection died, tried 5 times before giving up)
warning: spurious network error (2 tries remaining): [56] Failure when receiving data from the peer (Connection died, tried 5 times before giving up)
warning: spurious network error (2 tries remaining): [56] Failure when receiving data from the peer (Connection died, tried 5 times before giving up)Downloaded prost-derive v0.11.9 (registry `ustc`)Downloaded smallvec v1.11.0 (registry `ustc`)Downloaded fastrand v2.0.0 (registry `ustc`)Downloaded either v1.9.0 (registry `ustc`)Downloaded autocfg v1.1.0 (registry `ustc`)Downloaded ppv-lite86 v0.2.17 (registry `ustc`)Downloaded proc-macro2 v1.0.66 (registry `ustc`)Downloaded prost-build v0.11.9 (registry `ustc`)Downloaded prost-types v0.11.9 (registry `ustc`)Downloaded syn v1.0.109 (registry `ustc`)Downloaded rand_chacha v0.3.1 (registry `ustc`)Downloaded base64 v0.21.2 (registry `ustc`)Downloaded rustc-hash v1.1.0 (registry `ustc`)Downloaded rand v0.8.5 (registry `ustc`)Downloaded regex-automata v0.1.10 (registry `ustc`)Downloaded regex-syntax v0.6.29 (registry `ustc`)Downloaded syn v2.0.28 (registry `ustc`)Downloaded rustix v0.38.4 (registry `ustc`)Downloaded regex-automata v0.3.4 (registry `ustc`)Downloaded shlex v1.1.0 (registry `ustc`)Downloaded serde_urlencoded v0.7.1 (registry `ustc`)Downloaded serde_json v1.0.104 (registry `ustc`)Downloaded sct v0.7.0 (registry `ustc`)Downloaded serde v1.0.180 (registry `ustc`)Downloaded scopeguard v1.2.0 (registry `ustc`)Downloaded ryu v1.0.15 (registry `ustc`)Downloaded rustls-pemfile v1.0.3 (registry `ustc`)Downloaded sharded-slab v0.1.4 (registry `ustc`)Downloaded skywalking v0.8.0 (registry `ustc`)Downloaded serde_derive v1.0.180 (registry `ustc`)Downloaded 179 crates (21.5 MB) in 26.15s (largest was `ring` at 5.1 MB)Compiling libc v0.2.147Compiling proc-macro2 v1.0.66Compiling unicode-ident v1.0.11Compiling autocfg v1.1.0Compiling syn v1.0.109Compiling either v1.9.0Compiling cfg-if v1.0.0Compiling regex-syntax v0.7.4Compiling once_cell v1.18.0Compiling log v0.4.19Compiling lazy_static v1.4.0Compiling glob v0.3.1Compiling memchr v2.5.0Compiling pin-project-lite v0.2.10Compiling minimal-lexical v0.2.1Compiling libloading v0.7.4Compiling bindgen v0.63.0Compiling bytes v1.4.0Compiling smallvec v1.11.0Compiling parking_lot_core v0.9.8Compiling shlex v1.1.0Compiling rustc-hash v1.1.0Compiling lazycell v1.3.0Compiling scopeguard v1.2.0Compiling futures-core v0.3.28Compiling bitflags v1.3.2Compiling peeking_take_while v0.1.2Compiling tracing-core v0.1.31Compiling anyhow v1.0.72Compiling futures-task v0.3.28Compiling itertools v0.10.5Compiling rustversion v1.0.14Compiling futures-util v0.3.28Compiling indexmap v1.9.3Compiling clang-sys v1.6.1Compiling lock_api v0.4.10Compiling tokio v1.29.1Compiling slab v0.4.8Compiling itoa v1.0.9Compiling nom v7.1.3Compiling mio v0.8.8Compiling quote v1.0.32Compiling socket2 v0.4.9Compiling num_cpus v1.16.0Compiling signal-hook-registry v1.4.1Compiling cc v1.0.80Compiling syn v2.0.28Compiling which v4.4.0Compiling parking_lot v0.12.1Compiling fnv v1.0.7Compiling hashbrown v0.12.3Compiling pin-utils v0.1.0Compiling http v0.2.9Compiling getrandom v0.2.10Compiling futures-sink v0.3.28Compiling regex-automata v0.3.4Compiling rustix v0.38.4Compiling serde v1.0.180Compiling spin v0.5.2Compiling httparse v1.8.0Compiling serde_derive v1.0.180Compiling futures-channel v0.3.28Compiling linux-raw-sys v0.4.5Compiling prettyplease v0.1.25Compiling ring v0.16.20Compiling tower-service v0.3.2Compiling bitflags v2.3.3Compiling untrusted v0.7.1Compiling cexpr v0.6.0Compiling http-body v0.4.5Compiling rand_core v0.6.4Compiling async-trait v0.1.72Compiling fixedbitset v0.4.2Compiling fastrand v2.0.0Compiling ppv-lite86 v0.2.17Compiling regex v1.9.1Compiling try-lock v0.2.4Compiling want v0.3.1Compiling petgraph v0.6.3Compiling rand_chacha v0.3.1Compiling axum-core v0.3.4Compiling pkg-config v0.3.27Compiling tower-layer v0.3.2Compiling httpdate v1.0.2Compiling percent-encoding v2.3.0Compiling vcpkg v0.2.15Compiling heck v0.4.1Compiling multimap v0.8.3Compiling rustls v0.20.8Compiling rand v0.8.5Compiling axum v0.6.19Compiling mime v0.3.17Compiling thiserror v1.0.44Compiling tinyvec_macros v0.1.1Compiling portable-atomic v1.4.2Compiling tinyvec v1.6.0Compiling backtrace v0.3.68Compiling tempfile v3.7.0Compiling time-core v0.1.1Compiling libz-sys v1.1.12Compiling gimli v0.27.3Compiling matchit v0.7.1Compiling base64 v0.21.2Compiling hashbrown v0.14.0Compiling sync_wrapper v0.1.2Compiling portable-atomic v0.3.20Compiling adler v1.0.2Compiling regex-syntax v0.6.29Compiling miniz_oxide v0.7.1Compiling unicode-normalization v0.1.22Compiling rustls-pemfile v1.0.3Compiling time v0.3.23Compiling object v0.31.1Compiling serde_json v1.0.104Compiling match_cfg v0.1.0Compiling bytesize v1.2.0Compiling unicode-bidi v0.3.13Compiling rustc-demangle v0.1.23Compiling equivalent v1.0.1Compiling convert_case v0.4.0Compiling base64 v0.13.1Compiling regex-automata v0.1.10Compiling overload v0.1.1Compiling tokio-macros v2.1.0Compiling tracing-attributes v0.1.26Compiling futures-macro v0.3.28Compiling prost-derive v0.11.9Compiling pin-project-internal v1.1.2Compiling sct v0.7.0Compiling webpki v0.22.0Compiling thiserror-impl v1.0.44Compiling tracing v0.1.37Compiling async-stream-impl v0.3.5Compiling prost v0.11.9Compiling pin-project v1.1.2Compiling tracing-futures v0.2.5Compiling addr2line v0.20.0Compiling matchers v0.1.0Compiling derive_more v0.99.17Compiling prost-types v0.11.9Compiling phper-macros v0.12.0Compiling async-stream v0.3.5Compiling systemstat v0.2.3Compiling phper-sys v0.12.1Compiling nu-ansi-term v0.46.0Compiling prost-build v0.11.9Compiling tonic-build v0.8.4Compiling indexmap v2.0.0Compiling idna v0.4.0Compiling hostname v0.3.1Compiling skywalking v0.8.0Compiling uuid v1.4.1Compiling sharded-slab v0.1.4Compiling tracing-log v0.1.3Compiling tokio-util v0.7.8Compiling tokio-io-timeout v1.2.0Compiling tokio-rustls v0.23.4Compiling tokio-stream v0.1.14Compiling form_urlencoded v1.2.0Compiling h2 v0.3.20Compiling tower v0.4.13Compiling thread_local v1.1.4Compiling ryu v1.0.15Compiling url v2.4.0Compiling tracing-subscriber v0.3.17Compiling bincode v1.3.3Compiling dashmap v5.5.0Compiling hyper v0.14.27Compiling hyper-timeout v0.4.1Compiling tonic v0.8.3Compiling phper-build v0.12.0Compiling phper-alloc v0.12.0Compiling phper v0.12.0Compiling skywalking-php v0.8.0-dev (/home/zhanglei/swoole-monitor/skywalking-php)Finished release [optimized] target(s) in 6m 50s
if [ -f ./target/release/libskywalking_agent.dylib ] ; then \cp ./target/release/libskywalking_agent.dylib ./modules/skywalking_agent.so ; fi
if [ -f ./target/release/libskywalking_agent.so ] ; then \cp ./target/release/libskywalking_agent.so ./modules/skywalking_agent.so ; fiBuild complete.
Don't forget to run 'make test'.

相关文章:

你好rust

第一次安装rust,记录一下笔记。 几年前就听说过rust,自己一直是个c爱好者,所以比较抵触rust,早年还有什么rust向上突破群。一直比较抵触,直到这几年rust已经渐渐深入到linux内核、云原生可观测以及zend社区当中&#x…...

STM32 printf 重定向到CAN

最近在调试一款电机驱动板 使用的是CAN总线而且板子上只有一个CAN 想移植Easylogger到上面试试easylogger的效果&#xff0c;先实现pritnf的重定向功能来打印输出 只需要添加以下代码即可实现 代码 #include <stdarg.h> uint8_t FDCAN_UserTxBuffer[512]; void FDCAN_p…...

jmeter性能优化之mysql监控sql慢查询语句分析

接上次博客&#xff1a;基础配置 多用户登录并退出jmx文件&#xff1a;百度网盘 提取码&#xff1a;0000 一、练习jmeter脚本检测mysql慢查询 随意找一个脚本(多用户登录并退出)&#xff0c;并发数设置300、500后分别查看mysql监控平台 启动后查看&#xff0c;主要查看mysql…...

海南聚广众达电子商务咨询有限公司引领行业变革

在数字化浪潮席卷全球的今天&#xff0c;电商行业正以前所未有的速度发展。海南聚广众达电子商务咨询有限公司&#xff0c;凭借其在抖音电商领域的深厚积累和不断创新&#xff0c;正逐步成为行业的佼佼者。这家以专注、专业、专注为核心理念的公司&#xff0c;不仅为客户提供全…...

Unity API学习之资源的动态加载

资源的动态加载 在实际游戏开发的更新换代中&#xff0c;随着开发的软件不断更新&#xff0c;我们在脚本中需要拖拽赋值的变量会变空&#xff0c;而要想重新拖拽又太花费时间&#xff0c;因此我们就需要用到Resources.Load<文件类型>("文件名")函数来在一开始…...

C++算法——回溯

回溯算法 实现思想 先看一个实例&#xff1a; //暴力枚举的算法 int n 5; for (int a 1; i < n; i) {for (int b 1; b < n; b){for (int c 1; c < n; c){for (int d 1; d < n; d){for (int e 1; e < n; e){//判断 abcde 是否互补相同if (a ! b &&a…...

java的深拷贝和浅拷贝

总结&#xff1a; 深拷贝&#xff1a;无论是基本类型还是引用类型都会创建新的实例。 浅拷贝&#xff1a;对于基本类型就是复制其值&#xff0c;对于引用类型则是复制了指向这些数据类型的内存地址。 浅拷贝&#xff08;Shallow Copy&#xff09; 浅拷贝是指在创建新对象时&am…...

AI产品经理,应掌握哪些技术?

美国的麻省理工学院&#xff08;Massachusetts Institute of Technology&#xff09;专门负责科技成果转化商用的部门研究表明&#xff1a; 每一块钱的科研投入&#xff0c;需要100块钱与之配套的投资&#xff08;人、财、物&#xff09;&#xff0c;才能把思想转化为产品&…...

同三维T80004EHL-W-4K30 4K HDMI编码器,支持WEBRTC协议

输入&#xff1a;1路HDMI1路3.5音频&#xff0c;1路HDMI环出1路3.5音频解嵌输出 4K30超高清,支持U盘/移动硬盘/TF卡录制&#xff0c;支持WEBRTC协议&#xff0c;超低延时&#xff0c;支持3个点外网访问 1个主流1个副流输出&#xff0c;可定制选配POE供电模块&#xff0c;WEBR…...

Hi3861 OpenHarmony嵌入式应用入门--点灯

本篇实现对gpio的控制&#xff0c;通过控制输出进行gpio的点灯操作。 硬件 我们来操作IO2&#xff0c;控制绿色的灯。 软件 GPIO API API名称 说明 hi_u32 hi_gpio_deinit(hi_void); GPIO模块初始化 hi_u32 hi_io_set_pull(hi_io_name id, hi_io_pull val); 设置某个IO…...

SaaS案例分享:成功构建销售渠道的实战经验

面对SaaS产品推广的难题&#xff0c;你是否曾感到迷茫&#xff0c;不知如何选择有效的销售渠道&#xff1f;Shopify独立站联盟营销或许能为你提供新的思路。Shopify作为领先的电商解决方案提供商&#xff0c;其独立站功能为众多商家提供了强大的在线销售平台。而联盟营销&#…...

密钥管理简介

首先我们要知道什么是密钥管理&#xff1f; 密钥管理是一种涉及生成、存储、使用和更新密钥的过程。 密钥的种类 我们知道&#xff0c;对称密码主要包括分组密码和序列密码。但有时也可以将杂凑函数和消息认证码划分为这一类&#xff0c;将它们的密钥称为对称密钥&#xff1b;…...

2024中国应急(消防)品牌巡展成都站成功召开!

汇聚品牌力量&#xff0c;共同相聚成都。6月14日&#xff0c;由中国安全产业协会指导&#xff0c;中国安全产业协会应急创新分会、应急救援产业网联合主办&#xff0c;四川省消防协会协办的“一切为了安全”2024年中国应急(消防)品牌巡展-成都站成功举办。该巡展旨在展示中国应…...

ansible-Role角色批量按照node_export节点,并追加信息到Prometheus文件中

文章目录 剧本功能 inventory.yaml文件定义deploy.yaml角色定义node_exporter_lock角色定义任务角色main.yamlnode_exporter_tasks.yml角色触发任务notifyextra_tasks.yml角色prometheus_node_config.j2模板文件 执行命令查看变量 剧本功能 功能1&#xff1a; 批量执行node_ex…...

求最小公倍数 、小球走过路程计算 题目

题目 JAVA11 求最小公倍数分析&#xff1a;代码&#xff1a;大佬代码&#xff1a; JAVA12 小球走过路程计算分析&#xff1a;代码&#xff1a; JAVA11 求最小公倍数 描述 编写一个方法&#xff0c;该方法的返回值是两个不大于100的正整数的最小公倍数。 输入描述&#xff1a;…...

【Android面试八股文】你能说一说为什么IO是耗时操作?

IO(输入/输出)操作之所以是耗时操作,主要是由于以下几个原因: 1. 物理设备的限制 机械动作:传统的硬盘驱动器(HDD)包含旋转的磁盘和移动的磁头,以读取或写入数据。这些机械动作需要时间完成。虽然固态硬盘(SSD)没有机械部件,但它们仍然受到电子信号传输速度的限制。…...

怎样增强 CLike 游戏的社交功能,促进玩家之间的互动和交流?

要增强CLike游戏的社交功能&#xff0c;以促进玩家之间的互动和交流&#xff0c;可以考虑以下几个方面&#xff1a; 添加聊天功能&#xff1a;在游戏中加入实时聊天功能&#xff0c;让玩家可以在游戏内互相交流。可以通过文本聊天或者语音聊天来实现。 社交平台集成&#xff1…...

12_YouOnlyLookOnce(YOLOv3)新一代实时目标检测技术

1.1 回顾V1和V2 V1&#xff1a;05_YouOnlyLookOnce(YOLOV1)目标检测领域的革命性突破-CSDN博客 V2&#xff1a;07_YouOnlyLookOnce(YOLOv2)Better&#xff0c;Faster&#xff0c;Stronger-CSDN博客 1.2 简介 YOLOv3&#xff08;You Only Look Once version 3&#xff09;是…...

安装 Nuxt.js 的步骤和注意事项

title: 安装 Nuxt.js 的步骤和注意事项 date: 2024/6/17 updated: 2024/6/17 author: cmdragon excerpt: Nuxt.js在Vue.js基础上提供的服务器端渲染框架优势&#xff0c;包括提高开发效率、代码维护性和应用性能。指南详细说明了从环境准备、Nuxt.js安装配置到进阶部署技巧&…...

【perl】环境搭建

1、Vscode Strawberry Perl 此过程与tcl环境搭建很类似&#xff0c;请参考我的这篇文章&#xff1a; 【vscode】 与 【tclsh】 联合搭建tcl开发环境_tclsh软件-CSDN博客 perl语言的解释器可以选择&#xff0c;strawberry perl。Strawberry Perl for Windows - Releases。 …...

一只菜鸟学深度学习的日记:填充 步幅 下采样

陕访惹玫在前两篇文章《最小二乘问题详解10&#xff1a;PnP问题求解》和《最小二乘问题详解11&#xff1a;基于李代数的PnP优化》中&#xff0c;我们分别通过常规思想与李代数思想&#xff0c;深入探讨了计算机视觉中 SFM&#xff08;Structure from Motion&#xff09;系统的核…...

从理论到实践:SUNFLOWER MATCH LAB中的Transformer架构详解

从理论到实践&#xff1a;SUNFLOWER MATCH LAB中的Transformer架构详解 如果你对AI图像识别&#xff0c;特别是植物识别感兴趣&#xff0c;可能听说过一些模型背后神秘的“Transformer”架构。它听起来很高深&#xff0c;像是只属于研究论文里的东西。但今天&#xff0c;咱们不…...

类和对象(中)——运算符重载

引入语言在语法上可以直接用指令实现运算符对 内置类型 的操作C中加入了类类型&#xff0c;那如何使用以前的运算符&#xff08;如 - * / 等&#xff09;&#xff0c;对类类型进行操作呢&#xff1f;由此引入运算符重载&#xff1a;C为了增强代码的可读性引入了运算…...

终极DBeaver多线程查询优先级控制:基于查询类型的动态调整指南

终极DBeaver多线程查询优先级控制&#xff1a;基于查询类型的动态调整指南 【免费下载链接】dbeaver DBeaver 是一个通用的数据库管理工具&#xff0c;支持跨平台使用。* 支持多种数据库类型&#xff0c;如 MySQL、PostgreSQL、MongoDB 等&#xff1b;提供 SQL 编辑、查询、调试…...

Agent Skill 从使用到原理,一次讲清

目录前言1. 本期内容概览2. Agent Skill 是什么3. Agent Skill 的基本用法4. 高级用法&#xff08;Reference&#xff09;5. 高级用法&#xff08;Script&#xff09;6. 渐进式披露机制7. Agent Skill vs MCP结语参考前言 学习 UP 主 马克的技术工作坊 的 Agent Skill 从使用到…...

梦行云软件——溯源系统-》企业方》产品溯源管理》员工管理

梦行云软件——溯源系统-》企业方》产品溯源管理》员工管理 湖南梦辰软件开发有限公司是立足怀化、服务全国的数字化技术服务商。公司拥有19项软件著作权及多项自主知识产权。专注于Web系统、APP与小程序定制开发&#xff0c;提供全链路数字化解决方案。以合规先行与稳定交付为…...

BlueROV2进阶:巧用ArduSub参数配置实现多舵机协同控制

1. 从单舵机到多舵机协同的跨越 第一次用Pixhawk控制单个舵机转动时的兴奋感还记忆犹新&#xff0c;但当真正开始构建BlueROV2这样的水下机器人时&#xff0c;你会发现单一舵机控制远远不够。想象一下这样的场景&#xff1a;机械爪需要精准开合&#xff0c;云台要平稳转动&…...

【基于Tube的非线性系统模型预测控制MPC】基于鲁棒控制不变集的管式模型预测控制方案及其在利普希茨非线性系统中的应用附Matlab代码

✅作者简介&#xff1a;热爱科研的Matlab仿真开发者&#xff0c;擅长毕业设计辅导、数学建模、数据处理、建模仿真、程序设计、完整代码获取、论文复现及科研仿真。&#x1f34e; 往期回顾关注个人主页&#xff1a;Matlab科研工作室&#x1f447; 关注我领取海量matlab电子书和…...

一文搞懂训练大模型的数据怎么准备!

谈到大模型&#xff0c;很多人第一反应都是模型参数大、算力强&#xff0c;但其实数据才是大模型真正的底座。没有足够大、足够干净的数据&#xff0c;再先进的模型也发挥不出威力。今天就从数据层面&#xff0c;把大模型训练的几个关键环节梳理清楚。 数据采集与清洗 大模型训…...

【Git技巧】git rebase -i 实战:轻松合并本地提交记录

1. 为什么你需要掌握git rebase -i 每次写完代码提交时&#xff0c;你是不是也经常遇到这种情况&#xff1a;刚提交完就发现有个拼写错误&#xff0c;赶紧又提交一次&#xff1b;或者调试过程中反复提交了好几次"临时保存"。结果git log一看&#xff0c;提交记录乱七…...