Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for std #1068

Closed
wants to merge 18 commits into from
Closed

Commits on Oct 21, 2023

  1. Change path to mimic std::path

    This PR changes `path` to export a `Path` and `PathBuf` struct, akin to
    `std::path`. Initially I made this change because it was necessary for
    Rust FFI for the `std` port, but it turns out the change also removed a
    lot of unnecessary allocations throughout the codebase.
    
    Signed-off-by: Klimenty Tsoutsman <klim@tsoutsman.com>
    tsoutsman committed Oct 21, 2023
    Configuration menu
    Copy the full SHA
    e0dbfcd View commit details
    Browse the repository at this point in the history
  2. Clippy

    Signed-off-by: Klimenty Tsoutsman <klim@tsoutsman.com>
    tsoutsman committed Oct 21, 2023
    Configuration menu
    Copy the full SHA
    256747e View commit details
    Browse the repository at this point in the history

Commits on Oct 23, 2023

  1. Temp

    Signed-off-by: Klimenty Tsoutsman <klim@tsoutsman.com>
    tsoutsman committed Oct 23, 2023
    Configuration menu
    Copy the full SHA
    319f6aa View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e8147df View commit details
    Browse the repository at this point in the history

Commits on Oct 28, 2023

  1. Configuration menu
    Copy the full SHA
    9ee046b View commit details
    Browse the repository at this point in the history
  2. Fix clippy warnings

    Signed-off-by: Klimenty Tsoutsman <klim@tsoutsman.com>
    tsoutsman committed Oct 28, 2023
    Configuration menu
    Copy the full SHA
    2cda740 View commit details
    Browse the repository at this point in the history
  3. Merge branch 'theseus_main' into update_rust_toolchain

    Signed-off-by: Klimenty Tsoutsman <klim@tsoutsman.com>
    tsoutsman committed Oct 28, 2023
    Configuration menu
    Copy the full SHA
    9ea39cf View commit details
    Browse the repository at this point in the history
  4. Fix merged clippy warnings

    Signed-off-by: Klimenty Tsoutsman <klim@tsoutsman.com>
    tsoutsman committed Oct 28, 2023
    Configuration menu
    Copy the full SHA
    254ba65 View commit details
    Browse the repository at this point in the history
  5. Fix bitflags clippy warnings

    Signed-off-by: Klimenty Tsoutsman <klim@tsoutsman.com>
    tsoutsman committed Oct 28, 2023
    Configuration menu
    Copy the full SHA
    984e780 View commit details
    Browse the repository at this point in the history

Commits on Oct 30, 2023

  1. Temp 2

    Signed-off-by: Klimenty Tsoutsman <klim@tsoutsman.com>
    tsoutsman committed Oct 30, 2023
    Configuration menu
    Copy the full SHA
    8b82f2a View commit details
    Browse the repository at this point in the history
  2. Merge branch 'update_rust_toolchain' into std-shim

    Signed-off-by: Klimenty Tsoutsman <klim@tsoutsman.com>
    tsoutsman committed Oct 30, 2023
    Configuration menu
    Copy the full SHA
    b7865f3 View commit details
    Browse the repository at this point in the history
  3. Wrong target triple

    ```
    error[E0461]: couldn't find crate `std` with expected target triple x86_64-unknown-theseus
      |
      = note: the following crate versions were found:
              crate `std`, target triple x86_64-unknown-theseus-18391571932074236353: /Users/klim/Projects/theseus-5/build/std/aarch64-apple-darwin/stage0-std/x86_64-unknown-theseus/release/deps/libstd-ed3cfe7c0dcd5cb9.rlib
    
    error[E0461]: couldn't find crate `std` with expected target triple x86_64-unknown-theseus
     --> applications/test_std/src/lib.rs:1:5
      |
    1 | use std::{string::String, vec::Vec};
      |     ^^^
      |
      = note: the following crate versions were found:
              crate `std`, target triple x86_64-unknown-theseus-18391571932074236353: /Users/klim/Projects/theseus-5/build/std/aarch64-apple-darwin/stage0-std/x86_64-unknown-theseus/release/deps/libstd-ed3cfe7c0dcd5cb9.rlib
    ```
    
    Signed-off-by: Klimenty Tsoutsman <klim@tsoutsman.com>
    tsoutsman committed Oct 30, 2023
    Configuration menu
    Copy the full SHA
    091465f View commit details
    Browse the repository at this point in the history

Commits on Oct 31, 2023

  1. Temp 3

    Signed-off-by: Klimenty Tsoutsman <klim@tsoutsman.com>
    tsoutsman committed Oct 31, 2023
    Configuration menu
    Copy the full SHA
    0d70f4c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9d92e09 View commit details
    Browse the repository at this point in the history

Commits on Nov 1, 2023

  1. Basic working implementation

    Signed-off-by: Klimenty Tsoutsman <klim@tsoutsman.com>
    tsoutsman committed Nov 1, 2023
    Configuration menu
    Copy the full SHA
    ebd175e View commit details
    Browse the repository at this point in the history
  2. Revert changes

    Signed-off-by: Klimenty Tsoutsman <klim@tsoutsman.com>
    tsoutsman committed Nov 1, 2023
    Configuration menu
    Copy the full SHA
    85c2ff2 View commit details
    Browse the repository at this point in the history
  3. Works

    Signed-off-by: Klimenty Tsoutsman <klim@tsoutsman.com>
    tsoutsman committed Nov 1, 2023
    Configuration menu
    Copy the full SHA
    8226722 View commit details
    Browse the repository at this point in the history

Commits on Nov 5, 2023

  1. ICE

    Signed-off-by: Klimenty Tsoutsman <klim@tsoutsman.com>
    tsoutsman committed Nov 5, 2023
    Configuration menu
    Copy the full SHA
    4106f03 View commit details
    Browse the repository at this point in the history