rust icon indicating copy to clipboard operation
rust copied to clipboard

Add /SOURCELINK debug support on Windows

Open lzybkr opened this issue 6 years ago • 1 comments

It would be useful to add support for the VC++ linker option /SOURCELINK. This option embeds a json file mapping local source file paths to URLs to enable debugging on machines that might not have source. Documentation is here.

/SOURCELINK requires asomewhat recent versions of MSVC, so Rust support probably requires a version test for MSVC or some opt-in mechanism.

lzybkr avatar Apr 12 '19 18:04 lzybkr

Visiting for wg-debugging triage.

@wesleywiser or @michaelwoerister , can one of you figure out whether the requested feature would require a rustc command line option (and thus this requires an MCP), or if the requested feature is something we can unconditionally provide (assuming it uses a version test as described in the issue)?

pnkfelix avatar Oct 17 '22 14:10 pnkfelix