Rust Is Getting a Big Update

Manpreet Singh
3 min readApr 8, 2022

Welcome back! Rust is an awesome programming language, if you’re new to Rust, check out the link below to learn more about it:

Rust just got another big update, this is Rust version 1.60, if you want to check out their release log, here is a link to it:

So, let’s take a look at some of the big updates to this language!

Source Based Code Coverage

One of the biggest changes to this new version of Rust is the source based code coverage, what does this do? It essentially allows us to get reports from our code, here is an example code of this new feature:

RUSTFLAGS="-C instrument-coverage" cargo build

The code below is another example:

rustup component add llvm-tools-preview 
$(rustc --print…

--

--

Manpreet Singh
Manpreet Singh

No responses yet