📜 ⬆️ ⬇️

Announcement Rust 1.2

Today the cycles of stable Rust 1.2 and beta Rust 1.3 are completed! Read on for major changes or go to more detailed release notes .

What is included in stable release 1.2


As previously reported , Rust 1.2 brought two significant improvements to the compiler:


Cargo performance has also improved significantly:
')

Release 1.2 also includes support for the MSVC (Microsoft Visual C) toolchain, in addition to the GNU options. As a result, the code on Rust can now directly link with the code compiled by the Windows-native utilities. The compiler itself is able to bootstrap on MSVC, we already have preliminary nightly builds, and we are testing all the rust-lang libraries on MSVC. There is no support for stack promotion (unwinding) (the process ends with panic attacks), but work is underway on its implementation.

From the point of view of the language, Rust 1.2 completed work on supporting types with dynamic size , which made it possible for smart pointers like Rc to work directly with arrays and treit objects, that is, for example, Rc<[T]> fully ready for use . This enhancement applies to all smart pointers from the standard library. Support for third-party pointer types is available in nightly builds and will soon be fully stabilized.

What's new in 1.3 beta


One of the most interesting developments in cycle 1.3 was the creation of Rustonomicon - a new book on the “dark arts of advanced and insecure programming on Rust”. So far this book is only at the very beginning of writing, but already now it has a completely invaluable description of the more subtle aspects of Rust.

In loop 1.3, there are also performance improvements, mainly in the standard library:


We also took separate steps to pre-support Windows XP . Although we are not going to make Windows XP a “first class” platform, it has now become possible to program on Rust under XP, if we avoid using certain elements of the standard library.

On the Cargo side, we have added the ability to restrict lints according to the previously adopted RFC . The idea of ​​this functionality is that the lints of dependencies of your project should not prevent you from compiling the project, which, in turn, will enable us to adjust the behavior of the lints without having a negative impact on the ecosystem as a whole.

Release 1.2 Contributors


The stable release 1.2 is the fruit of the hard work of 180 people:

list
Aaron turon
Abhishek chanda
Adolfo ochagavía
Aidan hobson sayers
Akshay chiwhane
Alex Burka
Alex Crichton
Alex Stokes
Alexander Artemenko
Alexis Beingessner
Andrea Canciani
Andrew Foote
Andrew Kensler
Andrew straw
Ariel Ben-Yehuda
Austin hellyer
Barosl lee
Ben striegel
Björn steinbrink
Brian anderson
Brian campbell
Brian leibig
Brian quinlan
Carol (Nichols || Goulding)
Chris hellmuth
Christian stadelmann
Chuck bassett
Corey farwell
Cornel punga
Cruz Julian Bishop
Dave huseby
David Campbell
David Stygstra
David Voit
Edward bopp
Eduard burtescu
Eli friedman
Emilio Cobos Álvarez
Emily dunham
Eric Ye
Erik Michaels-Ober
Falco hirschenberger
Felix S. Klock II
Fugangqiang
Geoffrey thomas
Gleb kozyrev
Guillaume gomez
Gulshan singh
Heejong ahn
Huachao huang
Huon wilson
Ivan Ukhov
Iven hsu
Jake goulding
Jake hickey
James miller
Jared roesch
Jeremy schlatter
Jexell
Jim blandy
Johann tuffe
Johannes hoff
Johannes oertel
John hodge
Jonathan reem
Joshua landau
Kevin ballard
Kubilay kocak
Lee jeffery
Leo correa
Liigo zhuang
Lorenz
Luca bruno
Luqman Aden
Manish goregaokar
Marcel Müller
Marcus klaas
Marin Atanasov Nikolov
Markus westerlind
Martin pool
Marvin lobel
Matej lach
Mathieu david
Matt brubeck
Matthew astley
Max jacobson
Maximilian Haack
Michael Layzell
Michael Macias
Michael Rosenberg
Michael Sproul
Michael Woerister
Mihnea Dobrescu-Balaur
Mikhail Zabaluev
Mohammed attia
Ms2ger
Murath
Mario feroldi
Nathan Long
Nathaniel Theis
Nick cameron
Nick desaulniers
Nick fitzgerald
Nick hamann
Nick howell
Niko Matsakis
Nils liberg
OlegTsyba
Oliver 'ker' Schneider
Oliver schneider
P1start
Parker moore
Pascal hertleif
Paul Faria
Paul oliver
Peer Aramillo Irizar
Peter Atashian
Peter elmers
Philip munksgaard
Ralph giles
Rein heinrichs
Ricardo martins
Richo healey
Ricky taylor
Russell Johnston
Russell McClellan
Ryan pendleton
Ryman
Rémi Audebert
Sae-bom kim
Sean collins
Sean gillespie
Sean patrick santos
Seo sanghyeon
Simon sapin
Simonas kazlauskas
Steve gury
Steve klabnik
Steven allen
Steven fackler
Steven walter
Sebastien marie
Tamir duberstein
Thomas Karpiniec
Tim ringenbach
Tshepang Lekhonkhobe
Ulrik sverdrup
Vadim Petrochenkov
Wei-ming yang
Wesley wiser
Wilfred hugs
Will andrews
Will engler
Xuefeng wu
Xuefengwu
Yongqian li
York xiang
Z1
ben fleis
benaryorg
bluss
bors
clatour
diwic
dmgawel
econoplas
frankamp
funkill
inrustwetrust
joliv
klutzy
marcell
mdinger
olombard
peferron
ray glover
saml
simplex
sumito3478
webmobster

Source: https://habr.com/ru/post/264387/


All Articles