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.

How to Build

Prerequisites

  • Rust toolchain
  • Python 3
  • 10+ GB of disk space

Build Steps

Clone this repo and:

# Configure the build
./configure

# Build stage1 compiler
./x build --stage 1

For more detailed build options and configuration, see the official Rust build guide

Use It

# Find your build directory
ls build/*/stage1/bin/rustc

# Compile code with rust--
# Replace <YOUR-TRIPLE> with your triple from above (e.g., x86_64-unknown-linux-gnu, aarch64-apple-darwin)
./buil...

Similar Posts

Loading similar posts...

Keyboard Shortcuts

Navigation
Next / previous item
j/k
Open post
oorEnter
Preview post
v
Post Actions
Love post
a
Like post
l
Dislike post
d
Undo reaction
u
Recommendations
Add interest / feed
Enter
Not interested
x
Go to
Home
gh
Interests
gi
Feeds
gf
Likes
gl
History
gy
Changelog
gc
Settings
gs
Browse
gb
Search
/
General
Show this help
?
Submit feedback
!
Close modal / unfocus
Esc

Press ? anytime to show this help