New changes Rust 1.77.0!
Links:
Rust 1.77.0 Blog Post - blog.rust-lang...
Rust 1.77.1 Blog Post - blog.rust-lang...
async fn calls PR - github.com/rus...
Exhaustiveness: reveal opaque types properly - github.com/rus...
Changes to u128/i128 layout - blog.rust-lang...
Error on incorrect implied bounds in well-formedness check - github.com/rus...
Internal fixes - github.com/rus...
New cargo:: build directive - github.com/rus...
Cargo documentation updates - github.com/rus...
The Ferris-the-crab image on today's title picture is by Abi Broom, who is currently the Operations Manager of the Rust Foundation. This Ferris appears to have been hand-drawn in black marker on a piece of paper with hasty strokes for the main body, with a particular jaunty top of the head that evokes the image of a Calvin-and-Hobbes hairdo, with special attention given to providing ferris with adorable shiny eyes. The mouth is reminiscent of Leonardo Da Vinci's Mona Lisa smile, suggesting the artist has been influenced by old Italian culture, and may enjoy pizza and pasta. If you would like to add a copy of this ferris to your collection, you can download the image at foundation.rus...
0:21 1. C-string literals
1:02 2. Recursive async fn
2:12 3. offset_of!
2:38 4. std debuginfo is now stripped
3:52 5. incompatible_msrv lint
4:56 Other Rust Changes
5:07 6. Exhaustiveness: reveal opaque types properly
5:31 7. Stabilize THIR unsafeck
6:00 8. New static_mut_refs lint
6:20 9. Undeprecate unstable_features lint
6:38 10. coinductive_overlap_in_coherence promoted to hard error
6:54 11. Eliminate type-driven traversal in const-eval interning
7:22 12. Deny braced macro invocations in let-else statements.
8:12 13. soft_unstable lints now shows up in future breakage reports
8:23 14. Make i128 and u128 16-byte aligned on x86-based targets
8:59 15. Diagnostics now emit more information with --verbose
9:16 16. Improve spacing between printed tokens
9:27 17. Merge unused_tuple_struct_fields into dead_code
9:42 18. Error on incorrect implied bounds in well-formedness check
10:16 19. Fix coverage instrumentation/reports for non-ASCll source code.
10:41 20. Internal fixes
11:06 21. Target Promotions
11:19 22. New Tier 3 Targets
11:55 23. Implement From(&[T; N]) for Cow([T])
12:13 24. Remove special-case handling of Vec::split_off(0)
12:45 Stabilized APIs
12:56 25. array::each_ref & array::each_mut
13:12 26. core::net
13:44 27. round_ties_even for f32 & f64
14:09 28. slice chunk methods
15:29 29. Bound::map
16:00 30. File::create_new
16:37 31. Mutex::clear_poison & RwLock::clear_poison
17:12 Rustdoc
17:17 32. Links allowed in markdown headings
17:24 33. Docs search box supports parens-based type expression syntax
17:44 34. New icon to expand files pane in docs source code view
18:04 35. Prevent JS injection from localStorage
18:21 36. Recommend version-sorting in the Style Guide
18:43 37. More weirdness in weird-exprs .rs
21:00 Cargo
21:03 38. Extend build directive syntax with cargo::
21:28 39. Stabilize id format as PackageIDSpec
21:51 40. cargo-util-schemas
22:09 41. Inherit jobserver from env for all kinds of runner
22:30 42. rustc plugin support deprecated in cargo
22:44 43. Add colors to -Zhelp console output
22:53 44. Add rustc style errors for Cargo.toml parsing
23:05 45. Hold the mutate exclusive lock when vendoring
23:17 46. Set Content-Type: application/json only for requests with a body payload
23:32 47. Set OUT_DIR for all units with build scripts
23:42 48. Fix cargo add selecting the wrong package
23:58 49. cargo fix calls rustc fewer times
24:06 50. Don't inherit workspace if new package is on exclude list
24:17 51. Fix cargo update --precise to accept git branches and tags
24:31 52. Warn about unused keys in the [lints] section of Cargo.toml
24:43 53. Support inserting new lines in cargo fix
24:56 54. Various documentation updates
25:09 Clippy
25:12 55. multiple_crate_versions (feature)
25:34 56. single_call_fn (fix)
25:48 57. unit_arg (fix)
26:02 58. indexing_slicing (fix)
26:24 59. suspicious_open_options
26:44 60. option_as_ref_cloned
26:59 61. thread_local_initializer_can_be_made_const
27:20 62. str_split_at_newline
27:41 63. empty_enum_variants_with_brackets
27:53 64. manual_is_variant_and
28:12 65. pub_underscore_fields
28:34 66. eager_transmute
28:57 67. iter_filter_is_some
29:07 68. iter_filter_is_ok
29:21 69. result_filter_map
29:37 70. unconditional_recursion
Visit ultimaterustco... for Ultimate Rust Crash Course and other Rust courses!
Негізгі бет Rust 1.77.0: 70 highlights in 30 minutes
Пікірлер: 62