Go to file
Matthias Krüger 70a59ae1a1
Rollup merge of #132794 - WaffleLapkin:helix-improved-config, r=jieyouxu
Use a separate dir for r-a builds consistently in helix config

r? `@jieyouxu`
cc `@mrkajetanp`

Previously config used `build-rust-analyzer` for rustfmt and proc macros server, while not using it for actual `x check` commands.

This PR:
- Replaces the build dir with `build/rust-analyzer`
  - This is just my preference
  - Although I do think this is the nicest option: the directory is already git-ignored, `rm -fr ./build` removes everything, etc
- Uses said directory with the `x check` commands in helix r-a config
- Adds instructions on how to build rustfmt and proc macro server to the config

As of note, this is not what other configs do (like vscode's), however this _is_ what I would actually suggest to people (and what I'm actually using).
2024-11-09 10:52:05 +01:00
.github Merge pull request #13587 from Kobzol/ci-remove-bors 2024-11-07 17:42:31 +00:00
compiler Rollup merge of #132785 - durin42:llvm-20-more-alignments, r=nikic 2024-11-09 10:52:05 +01:00
library Rollup merge of #132778 - lolbinarycat:io-Error-into_inner-docs, r=cuviper 2024-11-08 20:46:13 -08:00
LICENSES
src Use a separate dir for r-a builds consistently in helix config 2024-11-09 01:27:29 +01:00
tests Rollup merge of #132777 - durin42:llvm-20-poison-prop, r=nikic 2024-11-09 10:52:04 +01:00
.clang-format
.editorconfig
.git-blame-ignore-revs
.gitattributes
.gitignore
.gitmodules
.ignore
.mailmap
Cargo.lock Auto merge of #132746 - flip1995:clippy-subtree-update, r=Manishearth 2024-11-08 16:49:13 +00:00
Cargo.toml update rustc-std-workspace crates 2024-11-04 07:45:15 +01:00
CODE_OF_CONDUCT.md
config.example.toml
configure
CONTRIBUTING.md
COPYRIGHT
INSTALL.md
LICENSE-APACHE
LICENSE-MIT
README.md Remove CI badge from README and book 2024-11-07 18:57:29 +01:00
RELEASES.md
REUSE.toml
rust-bors.toml
rustfmt.toml
triagebot.toml triagebot: ping wg-const-eval when relevant files change 2024-11-05 09:13:28 +01:00
x fix(x): fix a regex used to find python executable 2024-11-06 16:40:02 +03:00
x.ps1
x.py

This is the main source code repository for Rust. It contains the compiler, standard library, and documentation.

Why Rust?

  • Performance: Fast and memory-efficient, suitable for critical services, embedded devices, and easily integrate with other languages.

  • Reliability: Our rich type system and ownership model ensure memory and thread safety, reducing bugs at compile-time.

  • Productivity: Comprehensive documentation, a compiler committed to providing great diagnostics, and advanced tooling including package manager and build tool (Cargo), auto-formatter (rustfmt), linter (Clippy) and editor support (rust-analyzer).

Quick Start

Read "Installation" from The Book.

Installing from Source

If you really want to install from source (though this is not recommended), see INSTALL.md.

Getting Help

See https://www.rust-lang.org/community for a list of chat platforms and forums.

Contributing

See CONTRIBUTING.md.

License

Rust is primarily distributed under the terms of both the MIT license and the Apache License (Version 2.0), with portions covered by various BSD-like licenses.

See LICENSE-APACHE, LICENSE-MIT, and COPYRIGHT for details.

Trademark

The Rust Foundation owns and protects the Rust and Cargo trademarks and logos (the "Rust Trademarks").

If you want to use these names or brands, please read the media guide.

Third-party logos may be subject to third-party copyrights and trademarks. See Licenses for details.