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

Rollup of 5 pull requests #131869

Merged
merged 18 commits into from
Oct 18, 2024
Merged

Rollup of 5 pull requests #131869

merged 18 commits into from
Oct 18, 2024

Commits on Oct 13, 2024

  1. unwind: update unwinding dependency to 0.2.3

    The recent changes to naked `asm!()` macros made this unbuildable
    on Xous. The upstream package maintainer released 0.2.3 to fix support
    on newer nightly toolchains.
    
    Update the dependency to 0.2.3, which is the oldest version that works
    with the current nightly compiler.
    
    This closes rust-lang#131602 and fixes the build on xous.
    
    Signed-off-by: Sean Cross <[email protected]>
    xobs committed Oct 13, 2024
    Configuration menu
    Copy the full SHA
    dcdb192 View commit details
    Browse the repository at this point in the history
  2. std: xous: add support for args and env

    Process arguments and environment variables are both passed by way of
    Application Parameters. These are a TLV format that gets passed in as
    the second process argument.
    
    This patch combines both as they are very similar in their decode.
    
    Signed-off-by: Sean Cross <[email protected]>
    xobs committed Oct 13, 2024
    Configuration menu
    Copy the full SHA
    7304cf4 View commit details
    Browse the repository at this point in the history
  3. net: fix dead code warning

    Signed-off-by: Sean Cross <[email protected]>
    xobs committed Oct 13, 2024
    Configuration menu
    Copy the full SHA
    3d00c5c View commit details
    Browse the repository at this point in the history
  4. xous: ffi: correct syscall number for adjust_process

    The AdjustProcessLimit syscall was using the correct call number.
    
    Signed-off-by: Sean Cross <[email protected]>
    xobs committed Oct 13, 2024
    Configuration menu
    Copy the full SHA
    4c23cdf View commit details
    Browse the repository at this point in the history
  5. library: xous: mark alloc as FIXME(static_mut_refs)

    The allocator on Xous is now throwing warnings because the allocator
    needs to be mutable, and allocators hand out mutable pointers, which
    the `static_mut_refs` lint now catches.
    
    Give the same treatment to Xous as wasm, at least until a solution is
    devised for fixing the warning on wasm.
    
    Signed-off-by: Sean Cross <[email protected]>
    xobs committed Oct 13, 2024
    Configuration menu
    Copy the full SHA
    99de67a View commit details
    Browse the repository at this point in the history

Commits on Oct 15, 2024

  1. rustc_metadata: move comment closer to code

    This was added in cc3c8bb when it was
    closer to the `extract_one` call. Move it back near that call.
    tamird committed Oct 15, 2024
    Configuration menu
    Copy the full SHA
    93cee99 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f395551 View commit details
    Browse the repository at this point in the history

Commits on Oct 16, 2024

  1. Configuration menu
    Copy the full SHA
    69be18d View commit details
    Browse the repository at this point in the history

Commits on Oct 17, 2024

  1. Configuration menu
    Copy the full SHA
    94a2be9 View commit details
    Browse the repository at this point in the history
  2. Allow dropping dyn principal

    compiler-errors authored and WaffleLapkin committed Oct 17, 2024
    Configuration menu
    Copy the full SHA
    e3800a1 View commit details
    Browse the repository at this point in the history
  3. Missing parenthesis

    the line was missing closing parenthesis
    lexeyOK authored Oct 17, 2024
    Configuration menu
    Copy the full SHA
    4ab307f View commit details
    Browse the repository at this point in the history
  4. Bump libc to 0.2.161

    thesummer committed Oct 17, 2024
    Configuration menu
    Copy the full SHA
    a09c54d View commit details
    Browse the repository at this point in the history
  5. Add more tests

    Jules-Bertholet authored and WaffleLapkin committed Oct 17, 2024
    Configuration menu
    Copy the full SHA
    c4bce0b View commit details
    Browse the repository at this point in the history

Commits on Oct 18, 2024

  1. Rollup merge of rust-lang#131654 - betrusted-io:xous-various-fixes, r…

    …=thomcc
    
    Various fixes for Xous
    
    This patchset includes several fixes for Xous that have crept in over the last few months:
    
    * The `adjust_process()` syscall was incorrect
    * Warnings have started appearing in `alloc` -- adopt the same approach as wasm, until wasm figures out a workaround
    * Dead code warnings have appeared in the networking code. Add `allow(dead_code)` as these structs are used as IPC values
    * Add support for `args` and `env`, which have been useful for running tests
    * Update `unwinding` to `0.2.3` which fixes the recent regression due to changes in `asm!()` code
    matthiaskrgr authored Oct 18, 2024
    Configuration menu
    Copy the full SHA
    994bdbb View commit details
    Browse the repository at this point in the history
  2. Rollup merge of rust-lang#131743 - tamird:find_commandline_library-ti…

    …dy, r=lcnr
    
    rustc_metadata: minor tidying
    
    Cleaned up some code while investigating rust-lang#131720.
    
    See individual commits.
    matthiaskrgr authored Oct 18, 2024
    Configuration menu
    Copy the full SHA
    02cc3a6 View commit details
    Browse the repository at this point in the history
  3. Rollup merge of rust-lang#131823 - thesummer:bump-libc-0.2.160, r=wor…

    …kingjubilee
    
    Bump libc to 0.2.161
    
    Bumps libc to the latest release version 0.2.161 which
    - includes libc support for the tier 3 RTEMS target
    - fixes segfaults on 32-bit FreeBSD targets
    - gets musl's `posix_spawn_file_actions_addchdir_np` for some spawn opts
    matthiaskrgr authored Oct 18, 2024
    Configuration menu
    Copy the full SHA
    4e9901f View commit details
    Browse the repository at this point in the history
  4. Rollup merge of rust-lang#131850 - lexeyOK:master, r=compiler-errors

    Missing parenthesis
    
    the line was missing closing parenthesis
    matthiaskrgr authored Oct 18, 2024
    Configuration menu
    Copy the full SHA
    b25d266 View commit details
    Browse the repository at this point in the history
  5. Rollup merge of rust-lang#131857 - WaffleLapkin:dyn-drop-principal-3,…

    … r=compiler-errors
    
    Allow dropping dyn principal
    
    Revival of rust-lang#126660, which was a revival of rust-lang#114679. Fixes rust-lang#126313.
    
    Allows dropping principal when coercing trait objects, e.g. `dyn Debug + Send` -> `dyn Send`.
    
    cc `@compiler-errors` `@Jules-Bertholet`
    r? `@lcnr`
    matthiaskrgr authored Oct 18, 2024
    Configuration menu
    Copy the full SHA
    13b3984 View commit details
    Browse the repository at this point in the history