rust/src
Tomasz Miąsko 7d98d2207a Reopen standard streams when they are closed on Unix
The syscalls returning a new file descriptors generally use
lowest-numbered file descriptor not currently opened, without any
exceptions for those corresponding to the standard streams.

Previously when any of standard streams has been closed before starting
the application, operations on std::io::{stderr,stdin,stdout} objects
were likely to operate on other logically unrelated file resources
opened afterwards.

Avoid the issue by reopening the standard streams when they are closed.
2020-09-27 22:55:43 +02:00
..
bootstrap reduce overlong line 2020-09-27 04:22:55 +02:00
build_helper cleanup: Remove duplicate library names from Cargo.tomls 2020-08-30 22:57:54 +03:00
ci Do not link LLVM tools to LLVM dylib unless rustc is 2020-09-19 18:21:08 -04:00
doc Rollup merge of #77249 - jyn514:private-links, r=Manishearth 2020-09-27 18:37:23 +02:00
etc Implement HashSet in terms of hashbrown::HashSet 2020-09-08 17:24:23 -07:00
librustdoc Separate private_intra_doc_links and broken_intra_doc_links into separate lints 2020-09-27 09:58:29 -04:00
llvm-project@7075196da1 Rebase LLVM onto 11.0.0-rc3 2020-09-22 10:16:03 -07:00
test Reopen standard streams when they are closed on Unix 2020-09-27 22:55:43 +02:00
tools Auto merge of #71274 - RalfJung:raw-init-check-aggregate, r=petrochenkov 2020-09-27 10:17:09 +00:00
README.md Update README.md 2020-08-30 13:40:11 -05:00
stage0.txt bump version to 1.48 2020-08-26 10:16:59 +02:00
version bootstrap: move the version number to a plaintext file 2020-09-18 14:58:22 +02:00

This directory contains the source code of the rust project, including:

  • The test suite
  • The bootstrapping build system
  • Various submodules for tools, like rustdoc, rls, etc.

For more information on how various parts of the compiler work, see the rustc dev guide.