你好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的效果,先实现pritnf的重定向功能来打印输出 只需要添加以下代码即可实现 代码 #include <stdarg.h> uint8_t FDCAN_UserTxBuffer[512]; void FDCAN_p…...
jmeter性能优化之mysql监控sql慢查询语句分析
接上次博客:基础配置 多用户登录并退出jmx文件:百度网盘 提取码:0000 一、练习jmeter脚本检测mysql慢查询 随意找一个脚本(多用户登录并退出),并发数设置300、500后分别查看mysql监控平台 启动后查看,主要查看mysql…...
海南聚广众达电子商务咨询有限公司引领行业变革
在数字化浪潮席卷全球的今天,电商行业正以前所未有的速度发展。海南聚广众达电子商务咨询有限公司,凭借其在抖音电商领域的深厚积累和不断创新,正逐步成为行业的佼佼者。这家以专注、专业、专注为核心理念的公司,不仅为客户提供全…...
Unity API学习之资源的动态加载
资源的动态加载 在实际游戏开发的更新换代中,随着开发的软件不断更新,我们在脚本中需要拖拽赋值的变量会变空,而要想重新拖拽又太花费时间,因此我们就需要用到Resources.Load<文件类型>("文件名")函数来在一开始…...
C++算法——回溯
回溯算法 实现思想 先看一个实例: //暴力枚举的算法 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的深拷贝和浅拷贝
总结: 深拷贝:无论是基本类型还是引用类型都会创建新的实例。 浅拷贝:对于基本类型就是复制其值,对于引用类型则是复制了指向这些数据类型的内存地址。 浅拷贝(Shallow Copy) 浅拷贝是指在创建新对象时&am…...
AI产品经理,应掌握哪些技术?
美国的麻省理工学院(Massachusetts Institute of Technology)专门负责科技成果转化商用的部门研究表明: 每一块钱的科研投入,需要100块钱与之配套的投资(人、财、物),才能把思想转化为产品&…...
同三维T80004EHL-W-4K30 4K HDMI编码器,支持WEBRTC协议
输入:1路HDMI1路3.5音频,1路HDMI环出1路3.5音频解嵌输出 4K30超高清,支持U盘/移动硬盘/TF卡录制,支持WEBRTC协议,超低延时,支持3个点外网访问 1个主流1个副流输出,可定制选配POE供电模块,WEBR…...
Hi3861 OpenHarmony嵌入式应用入门--点灯
本篇实现对gpio的控制,通过控制输出进行gpio的点灯操作。 硬件 我们来操作IO2,控制绿色的灯。 软件 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产品推广的难题,你是否曾感到迷茫,不知如何选择有效的销售渠道?Shopify独立站联盟营销或许能为你提供新的思路。Shopify作为领先的电商解决方案提供商,其独立站功能为众多商家提供了强大的在线销售平台。而联盟营销&#…...
密钥管理简介
首先我们要知道什么是密钥管理? 密钥管理是一种涉及生成、存储、使用和更新密钥的过程。 密钥的种类 我们知道,对称密码主要包括分组密码和序列密码。但有时也可以将杂凑函数和消息认证码划分为这一类,将它们的密钥称为对称密钥;…...
2024中国应急(消防)品牌巡展成都站成功召开!
汇聚品牌力量,共同相聚成都。6月14日,由中国安全产业协会指导,中国安全产业协会应急创新分会、应急救援产业网联合主办,四川省消防协会协办的“一切为了安全”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: 批量执行node_ex…...
求最小公倍数 、小球走过路程计算 题目
题目 JAVA11 求最小公倍数分析:代码:大佬代码: JAVA12 小球走过路程计算分析:代码: JAVA11 求最小公倍数 描述 编写一个方法,该方法的返回值是两个不大于100的正整数的最小公倍数。 输入描述:…...
【Android面试八股文】你能说一说为什么IO是耗时操作?
IO(输入/输出)操作之所以是耗时操作,主要是由于以下几个原因: 1. 物理设备的限制 机械动作:传统的硬盘驱动器(HDD)包含旋转的磁盘和移动的磁头,以读取或写入数据。这些机械动作需要时间完成。虽然固态硬盘(SSD)没有机械部件,但它们仍然受到电子信号传输速度的限制。…...
怎样增强 CLike 游戏的社交功能,促进玩家之间的互动和交流?
要增强CLike游戏的社交功能,以促进玩家之间的互动和交流,可以考虑以下几个方面: 添加聊天功能:在游戏中加入实时聊天功能,让玩家可以在游戏内互相交流。可以通过文本聊天或者语音聊天来实现。 社交平台集成࿱…...
12_YouOnlyLookOnce(YOLOv3)新一代实时目标检测技术
1.1 回顾V1和V2 V1:05_YouOnlyLookOnce(YOLOV1)目标检测领域的革命性突破-CSDN博客 V2:07_YouOnlyLookOnce(YOLOv2)Better,Faster,Stronger-CSDN博客 1.2 简介 YOLOv3(You Only Look Once version 3)是…...
安装 Nuxt.js 的步骤和注意事项
title: 安装 Nuxt.js 的步骤和注意事项 date: 2024/6/17 updated: 2024/6/17 author: cmdragon excerpt: Nuxt.js在Vue.js基础上提供的服务器端渲染框架优势,包括提高开发效率、代码维护性和应用性能。指南详细说明了从环境准备、Nuxt.js安装配置到进阶部署技巧&…...
【perl】环境搭建
1、Vscode Strawberry Perl 此过程与tcl环境搭建很类似,请参考我的这篇文章: 【vscode】 与 【tclsh】 联合搭建tcl开发环境_tclsh软件-CSDN博客 perl语言的解释器可以选择,strawberry perl。Strawberry Perl for Windows - Releases。 …...
【车载音视频AI电脑】全国产海事船载视频监控系统解决方案
海事船载视频监控系统解决方案针对我国快速发展的内河航运、沿海航运和远洋航运中存在的航行安全和航运监管难题,为船舶运营方、政府监管部门提供一套集视频采集、存储、回放调阅为一体的视频监控系统,对中大型船舶运行中的内部重要部位情况和外部环境进…...
Centos SFTP搭建
SFTP配置、连接及挂载教程_sftp连接-CSDN博客1、确认是否安装yum list installed | grep openssh-server 2、创建用户和组 sudo groupadd tksftpgroup sudo useradd -g tksftpgroup -d /home/www/tk_data -s /sbin/nologin tksftp01 sudo passwd tksftp013. 配置SFTP注意&a…...
【中学教资科目二】01教育基础
01教育基础 前言第一节 教育的产生与发展1.1 教育的起源 第二节 教育学的产生和发展2.1 中国教育学的发展2.2 西方教育学的发展2.3 独立及多样化阶段2.4 马克思教育学2.5 现代教育发展 第三节 教育与社会的发展3.1 教育与文化的关系 第四节 教育与人的发展、4.1 个体身心发展的…...
设计模式-享元模式Flyweight(结构型)
享元模式(Flyweight) 享元模式是一种结构型模式,它主要用于减少创建对象的数量,减少内存占用。通过重用现有对象的方式,如果未找到匹配对象则新建对象。线程池、数据库连接池、常量池等池化的思想就是享元模式的一种应用。 图解 角色 享元工…...
【刷题】LeetCode刷题汇总
目录 一、刷题题号1:两数之和 二、解法总结1. 嵌套循环2. 双指针 一、刷题 记录LeetCode力扣刷题 题号1:两数之和 双循环(暴力解法): class Solution {public int[] twoSum(int[] nums, int target) {int[] listne…...
树莓派pico入坑笔记,快捷键键盘制作
使用usb_hid功能制作快捷键小键盘,定义了6个键,分别是 ctrlz ctrlv ctrlc ctrla ctrlw ctrln 对应引脚 board.GP4, board.GP8, board.GP13 board.GP28, board.GP20, board.GP17 需要用到的库,记得复制进单片机存储里面 然后是main主程…...
华为鲲鹏应用开发基础:鲲鹏处理器及关键硬件特性介绍(二)
1. 鲲鹏简介 1.1 鲲鹏处理器简介 鲲鹏处理器是华为自研的基于ARMv8指令集开发的数据中心级处理器 1.2 基于鲲鹏主板的多样化计算产品 1.3 基于鲲鹏920的华为TaiShan(泰山) 200服务器 1.3.1 TaiShan 2280服务器内部视图 1.3.2 TaiShan 2280服务器物理结构 1.3.3 TaiShan 2280服…...
Vue.js结合ASP.NET Core构建用户登录与权限验证系统
1. 环境准备2. 创建项目3. Vue配置步骤一: 安装包步骤二: 配置文件步骤三: 页面文件 4. 后台配置 在本教程中,我将利用Visual Studio 2022的强大集成开发环境,结合Vue.js前端框架和ASP.NET Core后端框架,从头开始创建一个具备用户登录与权限验…...
【html】如何利用id选择器实现主题切换
今天给大家介绍一种方法来实现主题切换的效果 效果图: 源码: <!DOCTYPE html> <html lang"zh"> <head><meta charset"UTF-8"><meta name"viewport" content"widthdevice-width, initia…...
服务器添加TLS域名证书核子之PKCS编解码
PKCS PKCS(Public Key Cryptography Standards)是一系列的标准,用于定义在公钥密码体系中涉及的一些基本结构和算法。PKCS#1 和 PKCS#8 是两个不同的标准,分别定义了不同的公钥私钥编码和封装格式。 PKCS#1 和PKCS#8区别 PKCS#1 PKCS#1 定义了一种用于RSA算法的公钥和私…...
主流网站/seo教程视频
OS : Ubuntu 18.04.1 LTSDBMS : mysql 8.0.12typesetting : Markdown数据,数据,命根就在数据 ! 操作数据库时,一定要谨慎小心。师万物 的代码看看就好,要有自己的判断。遇到抉择,要不耻上下问。examplestuUbuntu:~$ my…...
网站开发功能确认单/网站增加外链的方法有哪些
https://www.cnblogs.com/forfuture1978/archive/2011/09/10/2172918.html...
网站建设头像/枸橼酸西地那非片的作用及功效
一,多线程的创建 QT通过三种形式提供了对线程的支持。它们分别是,一、平台无关的线程类,二、线程安全的事件投递,三、跨线程的信号-槽连接。这使得开发轻巧的多线程Qt程序更为容易,并能充分利用多处理器机器的优势。多…...
幼儿园网站建设方案结语/千锋教育学费多少
一、背景最近发现原来的原型预览访问速度超级慢,这一切貌似是最近调整了下Axure原型中的几个元件,上传之后,原本访问超级快的文件,变的超级超级慢。 二、原因分析过程 1、首先直接从服务器角度找原因。自认为服务器可能是宽带不够…...
互联网设计师leader/天津网站优化
题目一:一个有10亿条记录的文本文件,已按照关键字排好序存储,设计算法,可以快速的从文件中查找指定关键字的记录答案:10亿在 G量级, 分成100份, 为10M量级, 基本上放入内存无压力了.在这10亿记录中, 均分为100份, 把每…...
葫芦岛建设信息网站/淘宝关键词搜索工具
废话不多说还是打开word-视图-工具栏-visual basic,选择Microsoft web浏览器。添加该控件到word页面中。界面设计如下点击按钮编写如下代码Sub CommandButton1_Click() Sub CommandButton1_Click() On Error GoTo errplay If TextBox1.Text "" Then MsgBox "网…...