Skip to content

Bash scripts distributed with Windows toolchians #148409

@ChrisDenton

Description

@ChrisDenton

On Windows (including msvc since 1.85) We currently distribute distribute the following extension-less bash scripts to run debuggers: rust-gdb, rust-gdbgui and rust-lldb, However, this currently breaks rustup and fixing this is non-trivial because there isn't a native way to run bash scripts.

Distributing these seems to be an accidental side-effect of distributing the py files. I would suggest either:

  • remove the bash scripts entirely
  • create .bat alternatives (or maybe powershell)

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-debuggersArea: debuggers themselves (gdc, lldb, cdb, WinDbg, etc.)C-bugCategory: This is a bug.O-windowsOperating system: WindowsT-bootstrapRelevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions