Files
rust/src
Mazdak Farrokhzad ff961789bc Rollup merge of #69326 - JOE1994:os_str_widestring, r=RalfJung
mir-interpret: add method to read wide strings from Memory

Implemented *step2* from [instructions](https://github.com/rust-lang/miri/issues/707#issuecomment-561564057) laid out in rust-lang/miri#707.

Added 2 new methods to struct `rustc_mir::interpret::InterpCx`.

* `read_os_str_from_wide_str` (src/librustc_mir/interpret/operand.rs)
* `write_os_str_to_wide_str` (src/librustc_mir/interpret/place.rs)
  - used existing logic implemented in [MIRI/src/eval.rs](https://github.com/rust-lang/miri/blob/94732aaf7bf79fd01a4a48d11155c6586b937514/src/eval.rs#L132-L141)

These methods are intended to be used for environment variable emulation in Windows.
2020-03-08 20:54:28 +01:00
..
2020-03-06 15:19:31 +01:00
2020-03-06 15:19:31 +01:00
2020-03-06 15:19:31 +01:00
2020-03-06 15:19:31 +01:00
2020-03-06 15:19:31 +01:00
2020-03-06 15:19:31 +01:00
2020-03-06 15:19:31 +01:00
2020-03-06 15:19:31 +01:00
2020-03-02 18:11:53 -05:00
2020-03-06 15:19:31 +01:00

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

  • rustc and its tests
  • libstd
  • Various submodules for tools, like rustdoc, rls, etc.

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