Module install

Source
Expand description

Implementation of the install aspects of the compiler.

This module is responsible for installing the standard library, compiler, and documentation.

Macrosยง

install ๐Ÿ”’

Structsยง

Cargo
Clippy
Docs
LlvmBitcodeLinker
LlvmTools
Miri
RustAnalyzer
Rustc
RustcCodegenCranelift
Rustfmt
Src
Std

Constantsยง

SHELL ๐Ÿ”’

Functionsยง

default_path ๐Ÿ”’
install_sh ๐Ÿ”’
is_dir_writable_for_user ๐Ÿ”’
prepare_dir ๐Ÿ”’
sanitize_sh ๐Ÿ”’
We have to run a few shell scripts, which choke quite a bit on both \ characters and on C:\ paths, so normalize both of them away.