Tech News
← Back to articles

Rust–: Rust without the borrow checker

read original related products more articles

Rust--: Rust without the borrow checker

A modified Rust compiler with the borrow checker disabled. This allows code that would normally violate Rust's borrowing rules to compile and run successfully.

Install

Pre-built binaries for macOS (Apple Silicon) and Linux (x86_64):

curl -sSL https://raw.githubusercontent.com/buyukakyuz/rustmm/main/install.sh | bash

Use:

~ /.rustmm/bin/rustc your_code.rs

To build from source, see BUILDING.md.

Examples: Before vs After

Example 1: Move Then Use

... continue reading