当前位置: 首页 > 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。 …...

【Axure高保真原型】引导弹窗

今天和大家中分享引导弹窗的原型模板&#xff0c;载入页面后&#xff0c;会显示引导弹窗&#xff0c;适用于引导用户使用页面&#xff0c;点击完成后&#xff0c;会显示下一个引导弹窗&#xff0c;直至最后一个引导弹窗完成后进入首页。具体效果可以点击下方视频观看或打开下方…...

微信小程序 - 手机震动

一、界面 <button type"primary" bindtap"shortVibrate">短震动</button> <button type"primary" bindtap"longVibrate">长震动</button> 二、js逻辑代码 注&#xff1a;文档 https://developers.weixin.qq…...

相机Camera日志分析之三十一:高通Camx HAL十种流程基础分析关键字汇总(后续持续更新中)

【关注我,后续持续新增专题博文,谢谢!!!】 上一篇我们讲了:有对最普通的场景进行各个日志注释讲解,但相机场景太多,日志差异也巨大。后面将展示各种场景下的日志。 通过notepad++打开场景下的日志,通过下列分类关键字搜索,即可清晰的分析不同场景的相机运行流程差异…...

JVM暂停(Stop-The-World,STW)的原因分类及对应排查方案

JVM暂停(Stop-The-World,STW)的完整原因分类及对应排查方案,结合JVM运行机制和常见故障场景整理而成: 一、GC相关暂停​​ 1. ​​安全点(Safepoint)阻塞​​ ​​现象​​:JVM暂停但无GC日志,日志显示No GCs detected。​​原因​​:JVM等待所有线程进入安全点(如…...

python执行测试用例,allure报乱码且未成功生成报告

allure执行测试用例时显示乱码&#xff1a;‘allure’ &#xfffd;&#xfffd;&#xfffd;&#xfffd;&#xfffd;ڲ&#xfffd;&#xfffd;&#xfffd;&#xfffd;ⲿ&#xfffd;&#xfffd;&#xfffd;Ҳ&#xfffd;&#xfffd;&#xfffd;ǿ&#xfffd;&am…...

Python网页自动化Selenium中文文档

1. 安装 1.1. 安装 Selenium Python bindings 提供了一个简单的API&#xff0c;让你使用Selenium WebDriver来编写功能/校验测试。 通过Selenium Python的API&#xff0c;你可以非常直观的使用Selenium WebDriver的所有功能。 Selenium Python bindings 使用非常简洁方便的A…...

自然语言处理——文本分类

文本分类 传统机器学习方法文本表示向量空间模型 特征选择文档频率互信息信息增益&#xff08;IG&#xff09; 分类器设计贝叶斯理论&#xff1a;线性判别函数 文本分类性能评估P-R曲线ROC曲线 将文本文档或句子分类为预定义的类或类别&#xff0c; 有单标签多类别文本分类和多…...

智能职业发展系统:AI驱动的职业规划平台技术解析

智能职业发展系统&#xff1a;AI驱动的职业规划平台技术解析 引言&#xff1a;数字时代的职业革命 在当今瞬息万变的就业市场中&#xff0c;传统的职业规划方法已无法满足个人和企业的需求。据统计&#xff0c;全球每年有超过2亿人面临职业转型困境&#xff0c;而企业也因此遭…...

高防服务器价格高原因分析

高防服务器的价格较高&#xff0c;主要是由于其特殊的防御机制、硬件配置、运营维护等多方面的综合成本。以下从技术、资源和服务三个维度详细解析高防服务器昂贵的原因&#xff1a; 一、硬件与技术投入 大带宽需求 DDoS攻击通过占用大量带宽资源瘫痪目标服务器&#xff0c;因此…...

MeshGPT 笔记

[2311.15475] MeshGPT: Generating Triangle Meshes with Decoder-Only Transformers https://library.scholarcy.com/try 真正意义上的AI生成三维模型MESHGPT来袭&#xff01;_哔哩哔哩_bilibili GitHub - lucidrains/meshgpt-pytorch: Implementation of MeshGPT, SOTA Me…...