Rust
詳細情報
| タイトル | Rust |
|---|---|
| URL | https://www.rust-lang.org/ |
| バージョン | ver 1.91.0 |
| 更新日 | 2025/10/31 |
| 追加日 | 2016/01/29 |
| 種別 | フリーソフト |
| 説明 | Mozillaによって開発されているシステムプログラミング言語。 |
レビュー
Rustは効率性や安全性、生産性を重視して開発が進められているプログラミング言語。
パフォーマンスを維持しつつメモリ安全性を確保し、CやC++言語を置き換える事ができるシステムプログラミング言語を目指して開発が進められている。
2006年にMozillaの従業員であるGraydon Hoare氏の個人のプロジェクトとして開発が始まり、2009年以降はMozillaが支援する公式プロジェクトとなった。2015年に1.0がリリースされ基本的な仕様が固まっている。
スクリーンショット
スクリーンショットはありません。
更新グラフ
バージョン履歴
Rust 1.91.0
Language
- Lower pattern bindings in the order they're written and base drop order on primary bindings' order
-
Stabilize declaration of C-style variadic functions for
sysv64,win64,efiapi, andaapcsABIs. This brings these ABIs in line with the C ABI: variadic functions can be declared in extern blocks but not defined. - Add
dangling_pointers_from_localslint to warn against dangling pointers from local variables - Upgrade
semicolon_in_expressions_from_macrosfrom warn to deny - Stabilize LoongArch32 inline assembly
- Add warn-by-default
integer_to_ptr_transmuteslint against integer-to-pointer transmutes - Stab
Rust 1.90.0
Language
-
Split up the
unknown_or_malformed_diagnostic_attributeslint. This lint has been split up into four finer-grained lints, withunknown_or_malformed_diagnostic_attributesnow being the lint group that contains these lints:-
unknown_diagnostic_attributes: unknown to the current compiler -
misplaced_diagnostic_attributes: placed on the wrong item -
malformed_diagnostic_attributes: malformed attribute syntax or options -
malformed_diagnostic_format_literals: malformed format string literal
-
- Allow constants whose final value has references to mutable/external memory, but reject such constants as patterns
- Allow volatile access to non-Rust memory, includi
Rust 1.89.0
Language
- Stabilize explicitly inferred const arguments (
feature(generic_arg_infer)) -
Add a warn-by-default
mismatched_lifetime_syntaxeslint. This lint detects when the same lifetime is referred to by different syntax categories between function arguments and return values, which can be confusing to read, especially in unsafe code. This lint supersedes the warn-by-defaultelided_named_lifetimeslint. - Expand
unpredictable_function_pointer_comparisonsto also lint on function pointer comparisons in external macros - Make the
dangerous_implicit_autorefslint deny-by-default - Stabilize the avx512 target features
- Stabilize
klandwidekl<
Rust 1.88.0
Language
-
Stabilize
#![feature(let_chains)]in the 2024 edition. This feature allows&&-chainingletstatements insideifandwhile, allowing intermixture with boolean expressions. The patterns inside theletsub-expressions can be irrefutable or refutable. -
Stabilize
#![feature(naked_functions)]. Naked functions allow writing functions with no compiler-generated epilogue and prologue, allowing full control over the generated assembly for a particular function. -
Stabilize
#![feature(cfg_boolean_literals)]. This allows using boolean literals ascfgpredicates, e.g.#[cfg(true)]and#[cfg(false)]. - Fully de-s
Rust 1.87.0
Language
- Stabilize
asm_gotofeature -
Allow parsing open beginning ranges (
..EXPR) after unary operators!,-, and*. - Don't require method impls for methods with
Self: Sizedbounds inimpls for unsized types - Stabilize
feature(precise_capturing_in_traits)allowinguse<...>bounds on return positionimpl Traitintraits
Compiler
- x86: make SSE2 required for i686 targets and use it to pass SIMD types
Platform Support
- Remove
i586-pc-windows-msvctarget
R
Rust 1.86.0
Language
- Stabilize upcasting trait objects to supertraits.
- Allow safe functions to be marked with the
#[target_feature]attribute. - The
missing_abilint now warns-by-default. - Rust now lints about double negations, to catch cases that might have intended to be a prefix decrement operator (
--x) as written in other languages. This was previously a clippy lint,clippy::double_neg, and is now available directly in Rust asdouble_negations. - More pointers are now detected as definitely not-null based on their alignment in const eval.
- Empty
repr()attribute applied to invalid items are now correctly rejected. - Inner attrib
Rust 1.85.1
- Fix the doctest-merging feature of the 2024 Edition.
- Relax some
target_featurechecks when generating docs. - Fix errors in
std::fs::renameon Windows 10, version 1607. - Downgrade bootstrap
ccto fix custom targets. - Skip submodule updates when building Rust from a source tarball.
Rust 1.85.0
Language
- The 2024 Edition is now stable. See the edition guide for more details.
- Stabilize async closures See RFC 3668 for more details.
- Stabilize
#[diagnostic::do_not_recommend] - Add
unpredictable_function_pointer_comparisonslint to warn against function pointer comparisons - Lint on combining
#[no_mangle]and#[export_name]attributes.
Compiler
-
The unstable flag
-Zpolymorphizehas been removed, see rust-lang/compiler-team#810 for some background.
Platform Support
- Promote
powerpc64le-unknown-linu
Rust 1.84.1
- Fix ICE 132920 in duplicate-crate diagnostics.
- Fix errors for overlapping impls in incremental rebuilds.
- Fix slow compilation related to the next-generation trait solver.
- Fix debuginfo when LLVM's location discriminator value limit is exceeded.
- Fixes for building Rust from source:
- Only try to distribute
llvm-objcopyif llvm tools are enabled. - Add Profile Override for Non-Git Sources.
- Resolve symlinks of LLVM tool binaries before copying them.
- Make it possible to use ci-rustc on tarball sources.
- Only try to distribute
Rust 1.84.0
Language
- Allow
#[deny]inside#[forbid]as a no-op - Show a warning when
-Ctarget-featureis used to toggle features that can lead to unsoundness due to ABI mismatches - Use the next-generation trait solver in coherence
- Allow coercions to drop the principal of trait objects
- Support
/as the path separator forinclude!()in all cases on Windows - Taking a raw ref (
raw (const|mut)) of a deref of a pointer (*ptr) is now safe - Stabilize s390x inline assembly
- Stabilize Arm64EC inline assembly
- Lint against creating pointers to immediately dropped temporaries
Rust 1.83.0
Language
- Stabilize
&mut,*mut,&Cell, and*const Cellin const. - Allow creating references to statics in
constinitializers. - Implement raw lifetimes and labels (
'r#ident). - Define behavior when atomic and non-atomic reads race.
- Non-exhaustive structs may now be empty.
- Disallow implicit coercions from places of type
! const externfunctions can now be defined for other calling conventions.- Stabilize
expr_2021macro fragment specifier in all editions. - The
non_local_definitionslint now fires on less code and warns b