You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Render explicit entry-point arguments in the selected linker dialect #572
bugA problem that causes incorrect behavior or crashes.buildIssues related to building the project or compiling errors.ciGitHub CI or CIcross-platformIssues related to making Wave work seamlessly across multiple operating systems.
src/cli.rs unconditionally appends format!("-Wl,-e,{}", entry) to out.llvm.link_args when processing an explicit entry point. This happens without selecting the target/linker dialect, while MSVC plan construction already emits /ENTRY:entry.
This is evidence of an invalid mixed-dialect plan, not yet an observed native link failure: the CI regression stops first at its separate mingw substring assertion.
Scope
Keep the requested entry point semantic until linker selection and render it once in the selected driver's dialect. Audit both parsed CLI options and link-plan construction to avoid double emission. Preserve supported GNU driver and direct ELF linker behavior as well as explicit MSVC output.
Acceptance
For x86_64 and AArch64 MSVC targets, an explicit entry produces /ENTRY:<symbol> without GNU -Wl, forwarding arguments.
Existing GNU/Linux entry handling remains correct for the selected driver.
Tests inspect final argument vectors and exercise both MSVC targets; link a minimal COFF executable with an available MSVC-compatible linker.
Keep Windows GNU support during the MSVC rollout.
This is a concrete follow-up to #498 / #292, exposed by #569. Fix the production argument routing separately from the regression's host-path assertion.
bugA problem that causes incorrect behavior or crashes.buildIssues related to building the project or compiling errors.ciGitHub CI or CIcross-platformIssues related to making Wave work seamlessly across multiple operating systems.
Activity
fix: stabilize linker outputs, test cleanup, and Darwin pipes (wavefn…