Personal channel of @lancern
Topics: programming, hacking, memes, life, and more. Forward anything as you wish.
Join the discussion group for more fun.
Discord: https://discord.gg/RwUx9et7
Topics: programming, hacking, memes, life, and more. Forward anything as you wish.
Join the discussion group for more fun.
Discord: https://discord.gg/RwUx9et7
https://www.zdnet.com/article/linus-torvalds-muses-about-maintainer-gray-hairs-and-the-next-king-of-linux/
Fishshell rewrite-it-in Rust progress: 100% https://aus.social/@zanchey/111760402786767224
Announcing Rust 1.69.0
The Rust team is happy to announce a nice version of Rust, 1.69.0. Rust is a programming language empowering everyone to build reliable and efficient software.
If you have a previous version of Rust installed via rustup, you can get 1.69.0 with:
If you don't have it already, you can get rustup from the appropriate page on our website, and check out the detailed release notes for 1.69.0 on GitHub.
If you'd like to help us out by testing future releases, you might consider updating locally to use the beta channel (
What's in 1.69.0 stable
Rust 1.69.0 introduces no major new features. However, it contains many small improvements, including over 3,000 commits from over 500 contributors.
Cargo now suggests to automatically fix some warnings
Rust 1.29.0 added the
In order to draw more attention to these increased capabilities, Cargo will now suggest running
Note that the full Cargo invocation shown above is only necessary if you want to precisely apply fixes to a single crate. If you want to apply fixes to all the default members of a workspace, then a simple
Debug information is not included in build scripts by default anymore
To improve compilation speed, Cargo now avoids emitting debug information in build scripts by default. There will be no visible effect when build scripts execute successfully, but backtraces in build scripts will contain less information.
If you want to debug a build script, you can add this snippet to your
Stabilized APIs
●
●
These APIs are now stable in const contexts:
●
●
●
●
●
●
●
●
●
●
●
●
●
Other changes
Check out everything that changed in Rust, Cargo, and Clippy.
Contributors to 1.69.0
Many people came together to create Rust 1.69.0. We couldn't have done it without all of you. Thanks!
via Rust Blog (author: The Rust Release Team)
The Rust team is happy to announce a nice version of Rust, 1.69.0. Rust is a programming language empowering everyone to build reliable and efficient software.
If you have a previous version of Rust installed via rustup, you can get 1.69.0 with:
rustup update stable
If you don't have it already, you can get rustup from the appropriate page on our website, and check out the detailed release notes for 1.69.0 on GitHub.
If you'd like to help us out by testing future releases, you might consider updating locally to use the beta channel (
rustup default beta
) or the nightly channel (rustup default nightly
). Please report any bugs you might come across!What's in 1.69.0 stable
Rust 1.69.0 introduces no major new features. However, it contains many small improvements, including over 3,000 commits from over 500 contributors.
Cargo now suggests to automatically fix some warnings
Rust 1.29.0 added the
cargo fix
subcommand to automatically fix some simple compiler warnings. Since then, the number of warnings that can be fixed automatically continues to steadily increase. In addition, support for automatically fixing some simple Clippy warnings has also been added.In order to draw more attention to these increased capabilities, Cargo will now suggest running
cargo fix
or cargo clippy --fix
when it detects warnings that are automatically fixable:warning: unused import: `std:#️⃣:Hash`
--> src/main.rs:1:5
|
1 | use std:#️⃣:Hash;
| ^^^^^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
warning: `foo` (bin "foo") generated 1 warning (run `cargo fix --bin "foo"` to apply 1 suggestion)
Note that the full Cargo invocation shown above is only necessary if you want to precisely apply fixes to a single crate. If you want to apply fixes to all the default members of a workspace, then a simple
cargo fix
(with no additional arguments) will suffice.Debug information is not included in build scripts by default anymore
To improve compilation speed, Cargo now avoids emitting debug information in build scripts by default. There will be no visible effect when build scripts execute successfully, but backtraces in build scripts will contain less information.
If you want to debug a build script, you can add this snippet to your
Cargo.toml
to emit debug information again:[profile.dev.build-override]
debug = true
[profile.release.build-override]
debug = true
Stabilized APIs
●
CStr::from_bytes_until_nul
●
core::ffi::FromBytesUntilNulError
These APIs are now stable in const contexts:
●
SocketAddr::new
●
SocketAddr::ip
●
SocketAddr::port
●
SocketAddr::is_ipv4
●
SocketAddr::is_ipv6
●
SocketAddrV4::new
●
SocketAddrV4::ip
●
SocketAddrV4::port
●
SocketAddrV6::new
●
SocketAddrV6::ip
●
SocketAddrV6::port
●
SocketAddrV6::flowinfo
●
SocketAddrV6::scope_id
Other changes
Check out everything that changed in Rust, Cargo, and Clippy.
Contributors to 1.69.0
Many people came together to create Rust 1.69.0. We couldn't have done it without all of you. Thanks!
via Rust Blog (author: The Rust Release Team)
#PL #Rust | #GAT has finally made its way to the merge queue! 🎉
https://github.com/rust-lang/rust/pull/96709#issuecomment-1243739760
https://github.com/rust-lang/rust/pull/96709#issuecomment-1243739760
GitHub 新闻:
* GitHub 现已支持追踪更名文件历史(git cli 用户可用
https://github.blog/changelog/2022-06-06-view-commit-history-across-file-renames-and-moves/
* GitHub Skills 开放,帮助用户了解 GitHub 的使用方法。
https://skills.github.com
https://github.blog/2022-06-06-introducing-github-skills/
* 依赖图/供应链安全监测现已支持 Rust 生态。
https://github.blog/2022-06-06-github-brings-supply-chain-security-features-to-the-rust-community/
#GitHub #Skills #Git #Rust #Dependency #SupplyChain
* GitHub 现已支持追踪更名文件历史(git cli 用户可用
git log --follow
达到类似效果)。https://github.blog/changelog/2022-06-06-view-commit-history-across-file-renames-and-moves/
* GitHub Skills 开放,帮助用户了解 GitHub 的使用方法。
https://skills.github.com
https://github.blog/2022-06-06-introducing-github-skills/
* 依赖图/供应链安全监测现已支持 Rust 生态。
https://github.blog/2022-06-06-github-brings-supply-chain-security-features-to-the-rust-community/
#GitHub #Skills #Git #Rust #Dependency #SupplyChain