你好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'.

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.mzph.cn/bicheng/28820.shtml

如若内容造成侵权/违法违规/事实不符,请联系多彩编程网进行投诉反馈email:809451989@qq.com,一经查实,立即删除!

相关文章

SAR复数图像

本篇文章讲讲SAR图像的一些特征: SAR图像是由行列像素组成的二维矩阵,其中每一个像素代表了地球表面上的一小块区域,其尺寸仅依赖于SAR系统的指标。每个像素点包含一个复数(幅度及相位),该数值与SAR分辨单元内全部散射提的反射率总…

【Redis实战篇】redis的擅长实现的功能

🔥作者主页:小林同学的学习笔录 🔥小林同学的专栏:JAVA之基础专栏 【Redis实战篇】Redis有可能出现的问题以及如何解决问题_redis实现用户登录可能造成哪些问题-CSDN博客 本文接上面的文章 目录 2.优惠券秒杀 2.1 全局唯一ID 2.…

Java Streams API:8个高效处理集合的实用技巧

引言 在日常的Java编程中,处理集合数据是一项常见任务。Java Streams API 提供了一系列强大的工具,可以帮助我们以声明式的方式处理集合,提高代码的可读性和效率。以下是8个你应该掌握的实用Java Streams API技巧,让你的代码更加…

C++ 强制类型转换总结

C 强制类型转换总结 简介static_cast介绍场景示例 dynamic_cast介绍场景示例 const_cast介绍示例 reinterpret_cast介绍特点示例 简介 在开发时候,对强制类型转换经常感觉很迷糊,什么场景用哪个没有一个确切的认识,因此借着这个机会好好总结…

新办理北京广播电视节目制作许可证需要什么条件

在北京想要从事广播电视节目制作,那就需要企业拥有广播电视节目制作经营许可证。此许可证不仅是企业合法经营的基础,同时也是保障节目制作质量和内容合规的标志。如何办理,详情致电咨询我或者来公司面谈。 北京广播电视节目制作经营许可证申请…

<tbody>出现滚动条后,同<thead>对不齐的解决方案

需求是需要表格滚动&#xff0c;并且表头不动 <table classtable-style><thead>表头部分</thead><tbody>表体部分</tbody> </table><style>.table-style {width: 100%;border: 1px solid silver; /* 有边框 */border-collapse: col…

Web前端精通教程:深入探索与实战指南

Web前端精通教程&#xff1a;深入探索与实战指南 在数字化时代&#xff0c;Web前端技术已经成为构建优秀用户体验的基石。想要精通Web前端&#xff0c;不仅需要掌握扎实的基础知识&#xff0c;还需要具备丰富的实战经验和深入的思考。本文将从四个方面、五个方面、六个方面和七…

访问jlesage/firefox镜像创建的容器中文乱码问题

目录 介绍总结 介绍 最近在使用jlesage/firefox镜像创建容器的时候&#xff0c;发现远程管理家里网络的时候中文会出现乱码&#xff0c;导致整个体验非常的不好&#xff0c;网上查找资料说只要设置环境变量ENABLE_CJK_FONT1 就可以解决问题&#xff0c;抱着试一试的态度还真的成…

「网络原理」IP 协议

&#x1f387;个人主页&#xff1a;Ice_Sugar_7 &#x1f387;所属专栏&#xff1a;计网 &#x1f387;欢迎点赞收藏加关注哦&#xff01; IP 协议 &#x1f349;报头结构&#x1f349;地址管理&#x1f34c;动态分配 IP 地址&#x1f34c;NAT 机制&#xff08;网络地址映射&am…

示例:WPF中应用DataGrid读取实体DisplayAttribute特性自动自动生成列名

一、目的&#xff1a;通过重写DataGrid的OnAutoGeneratingColumn方法实现根据定义特性自动生成列头信息功能 二、实现 <DataGrid ItemsSource"{local:GetStudents Count50}"/>实体定义如下 public class Student{[DataGridColumn("*")][Display(Na…

iOS18那些隐藏有趣的新功能分享!

WWDC 2024开幕式结束后&#xff0c;苹果迅速向开发者推送了iOS 18的首个测试版更新。很多果粉和小编一样&#xff0c;第一时间进行了升级。 自定义应用图标位置和颜色、应用锁、隐藏图标、全新控制中心、新增密码应用以及照片重新排版等新功能都表现出色。这些明面上的新功能大…

java.lang.ClassCastException的java类型转换异常解决方案

一、问题描述 在系统中应用了spring的Cacheable注解功能&#xff0c;首次请求方法没问题&#xff0c;但在二次加载中&#xff0c;会抛出类转换异常&#xff0c;根本原因是&#xff1a;同一个类的加载类不同&#xff0c;既&#xff1a;applicationClassLoader 和 RestartClassL…

ncnn 和 rknn 自定义算子对比实现

你提供了两种实现自定义 Sigmoid 算子的代码。第一种是使用NCNN 并行化的实现,第二种是一个自定义算子函数用于 RKNN(Rockchip Neural Network)的实现。下面我将详细解释这两种实现,并提供一些优化建议。 实现 1:使用NCNN 并行化实现的 Sigmoid 算子 int Sigmoid::forwa…

rxjava 3.0 BehaviorProcessor底层源代码分析

这段代码是 RxJava 中 BehaviorProcessor 类的实现&#xff0c;它是一个特殊的处理器&#xff08;Processor&#xff09;&#xff0c;可以缓存并向新的订阅者发出最后一个观察到的项以及所有后续的项。以下是对该类的详细分析&#xff1a; 类的结构和字段 字段 subscribers: 存…

Python中的np.setdiff1d()函数

Python中的np.setdiff1d()函数可用于找出两个序列集合中元素的差异 API及参数说明如下&#xff1a; np.setdiff1d(ar1,ar2,assume_unique)&#xff1a;找出序列1在序列2中的差异&#xff0c;并返回序列1中不在序列2中的元素 ar1&#xff1a;输入数组ar2&#xff1a;输入比较…

网络安全等级保护制度详解,一文掌握核心要点!

一、等级保护制度发展情况 等级保护制度的法律依据 《计算机信息系统安全保护条例》&#xff08;1994年General Office of the State Council第147号令&#xff09; 公安部主管全国计算机信息系统安全保护工作。 计算机信息系统实行安全等级保护&#xff0c;安全等级的划分…

目录文件管理

文章目录 Linux目录结构树形目录结构根目录常见的子目录子目录的作用 查看及检索文件查看文件内容cat格式 more格式操作方法 less格式操作方法 head格式 tail格式 统计文件内容wc格式选项 检索和过滤文件内容grep格式选项查找条件 备份及恢复文档压缩命令gzip bzip2格式压缩解压…

Redis 网络模型

一、用户空间和内核空间 1.1 linux 简介 服务器大多采用 Linux 系统&#xff0c;这里我们以 Linux 为例来讲解&#xff0c;下面有两个不同的 linux 发行版&#xff0c;分别位 ubuntu 和 centos&#xff0c;其实发行版就是在 Linux 系统上包了一层壳。 任何 Linux 发行版&#…

Draw.io

Draw.io Draw.io是一款很实用的思维导图软件&#xff0c;现在已经推出了桌面版&#xff0c;对于很多办公人士而言画张流程图可以轻松的罗列整个流程&#xff0c;比使用文字或者幻灯片制作简单并且容易理解&#xff0c;该应用程序不仅免费&#xff0c;还拥有专业的工具&#xf…

详细图文手把手教你阿里云注册域名如何托管到CloudFlare DNS服务

1.第一步&#xff1a;注册并登录Cloudflare账号&#xff0c;点击右上角“添加站点”&#xff0c;进入下图页面填写域名&#xff0c;点击继续。 2.第二步&#xff1a;进入页面滑动到最下方&#xff0c;选择Free免费套餐&#xff0c;再次点击继续。 3.第三步&#xff1a;这个页面…