Populært: Data opdateret 26. oktober 2026

Kategorier

Internet1.355
Kommunikation321
Lyd og video898
Grafik og design539
Kontor og produktivitet1.120
Udviklerværktøjer3.132
AI-værktøjer527
Sikkerhed og privatliv385
Systemværktøjer3.113
Spil523
Uddannelse og videnskab239
Netværk og IT284

Download Rust (GNU) 1.99.0

A language empowering everyone to build reliable and efficient software.

Dette er en ældre version. Den nyeste version er 1.99.1. Rust (GNU) 1.99.1 · Udgivet:
1.99.0 er en del af udgivelseslinjen 1.99, som stadig understøttes. endoflife.date

Installationsfiler 1.99.0

ArkitekturTypeOmfangFilstørrelseDownloadSHA256
64-bit MSI — — static.rust-lang.org VirusTotal
32-bit MSI — — static.rust-lang.org VirusTotal

Link og SHA256 stammer fra fællesskabets manifest i Windows Package Manager. Sammenlign hashen for den downloadede fil, før du kører den.

Udgivelsesnoter

Language
- Add allow-by-default raw_borrows_via_references lint that checks for references that decay immediately into raw borrows
- Extend unconditional_panic lint to function calls that panic when the chunks/windows size is zero
- Stabilize C-variadic function definitions
- Stabilize the ability to use #[unsafe(naked)] functions to define C-variadic functions (#![feature(c_variadic_naked_functions)]).
- Trait methods are now resolved on an adjusted never type (producing a FCW)
- Coerce from inference variables to trait objects if the inference variable is related via subtyping to a type that is known to be Sized
- Stabilize #[my_macro] mod foo;. This allows outlined modules (mod foo;) anywhere in the body of a custom attribute or derive macro.
- Fix the overflowing_literals lint with repeated negation. For instance, it will now no longer lint on --128_i8, which is already detected by the arithmetic_overflow lint.
- Add POSIX symbols to the invalid_runtime_symbol_definitions and suspicious_runtime_symbol_definitions lints
- Lint unused #[path] attributes on inline modules
- Enable unreachable_cfg_select_predicates lint as part of unused lint group
- Stabilize passing 128-bit integers via vector registers with asm! on x86
- Explicitly document that some allocations are allowed to grow in-place (but none are allowed to shrink)
- We now guarantee that the contents of an UnsafeCell can be accessed without going through get
- The invalid_reference_casting lint was adjusted accordingly
- Account for globally enabled target features in global_asm!
- Warn if an invalid doc attribute is used on a macro invocation

Compiler
- Convert -Ctarget-cpu into a target-modifier for AVR, AMDGCN and NVPTX
- Enable static_position_independent_executables on all gnu targets
- When providing a suggestion about a missing method, rustc now prefers an exactly matching name from a doc alias attribute over a similarity search from other method names. If your new users sometimes expect a method under a different name, adding a doc alias will now help them find it via rustc suggestions, in addition to helping them find it via rustdoc search: When suggesting method names, prefer exact doc aliases over similar names

Platform Support
- Promote riscv64-unknown-linux-musl to Tier 2 with host tools
Refer to Rust's platform support page for more information on Rust's tiered platform support.

Libraries
- Iteration on RangeInclusive (a..=b ranges) is now optimized better in some circumstances. As a side effect of this, the behavior of RangeInclusive values that has already been exhausted (as an iterator) has changed. For example, the return values of start() and end() on such ranges may return different values, and using such ranges as slice indexes may have different behavior. These behaviors were not guaranteed to be stable, so these changes are considered to not be breaking changes.
- Relax transmute_copy to accept ?Sized types
- Update transmute_copy to use a non-unwinding panic
- Don't escape U+FF9E and U+FF9F in escape_debug_ext
- Re-export core::fmt::NumBuffer in alloc (and std)

Stabilized APIs
- IntoIterator for Box<[T; N]>
- IntoIterator for &Box<[T; N]>
- IntoIterator for &mut Box<[T; N]>
- VecDeque::retain_back
- core::ffi::VaList
- Box::into_non_null
- Box::from_non_null
- Vec::into_parts
- Vec::from_parts
- core::mem::size_of_val_raw
- core::mem::align_of_val_raw
- core::alloc::Layout::for_value_raw
- String::from_utf8_lossy_owned
- string::FromUtf8Error::into_utf8_lossy
- FusedIterator for StepBy<I>
- std::fs::set_times
- std::fs::set_times_nofollow

Cargo
- Add a new built-in profile debug. This is a preparation for transitioning the dev profile away from debugging to give a saner default for faster development iterations. Currently there is no difference between dev and debug profiles. docs #17214
- Workspace members on edition 2024 or later can now override an inherited workspace dependency's default-features field. For example, serde = { workspace = true, default-features = false } now turns off default features even when the workspace definition enables them. On earlier editions, default-features = false is ignored with a warning. (RFC 3945) #17126
See also the full Cargo changelog

Rustdoc
- Add new unused_footnote_definition rustdoc lint
- Smarter filtering of trait impls yields performance improvements of 20% on average and up to 40% on some real-world crates. (1, 2, 3, 4, 5)

Compatibility Notes
- Fully deprecate the legacy integral modules. For example, std::i32::MAX should be accessed via i32::MAX instead.
- Upgrade no_mangle_generic_items into hard error
- The Pin::new_unchecked has had its safety invariants changed slightly
- Do not promote references to extern statics
- Ensure that the inferred types of let patterns typecheck
- hermit/fs: Return unsupported() instead of from_raw_os_error(22)
- Fixed a bug where #[repr(simd)] was accidentally allowed on macro invocations on stable Rust
- Abort const-eval when there are generics in the type of the value being produced
- Attributes not applying to anything are now an error in code blocks in doc comments
- Box::leak: tell people to avoid unleaking
- PowerPC inline ASM: Fix scalar floats being in the wrong vector lane on little endian
- Do not take doc(cfg()) into account when filtering doctests
- Infer anonymous lifetimes in the types of associated consts as 'static
- Macros that expand to a semicolon now produce a warning lint (semicolon_in_expressions_from_non_local_macros) even when the macro comes from another crate. Previously, such warnings only appeared for macros from the same crate, to avoid showing warnings that can't be fixed locally; however, this masked problems, as integration tests from the crate providing the macro get compiled as a separate crate, so tests often wouldn't reveal this issue. If you encounter a lint like this, please make sure to report it to the crate providing the macro so they can fix it; don't just silence it in your own crate.
- semicolon_in_expressions_from_macros: Lint on non-local macros too
- Split non-local semicolon_in_expressions_from_macros into a separate lint
- In Cargo, incremental compilation is now disabled by default when running in CI. CI is detected via the CI environment variable. #17220

Internal Changes
These changes do not affect any public interfaces of Rust, but they represent significant improvements to the performance or internals of rustc and related tools.
- Update to LLVM 23

https://github.com/rust-lang/rust/releases/tag/1.99.0

Mest populære i Sprog og SDK’er

Se alle
  1. Go Programming LanguageSprog og SDK’er
  2. LLVMSprog og SDK’er · LLVM
  3. DenoSprog og SDK’er · Deno Land Inc.
  4. CMakeSprog og SDK’er · Kitware
  5. YarnSprog og SDK’er · Yarn Contributors
  6. CcacheSprog og SDK’er · Joel Rosdahl
  7. sbtSprog og SDK’er · Lightbend, Inc.
  8. BOINCSprog og SDK’er · Space Sciences Laboratory, U.C. Berkeley
  9. Dart SDKSprog og SDK’er · Google
  10. NVM for WindowsSprog og SDK’er · Ecor Ventures LLC

Mere fra The Rust Project Developers

Se alle

Tags

Del