Skip to content

Link flag unexpectedly detected as /defaultlib:msvcrt on debug build, expecting /defaultlib:msvcrtd #536

Answered by jschwe
Billyzou0741326 asked this question in Q&A
Discussion options

You must be logged in to vote

Thanks for the detailed report!

Not sure if this is the intended behavior? I think it would make sense to do similar substitutions for the link flags.

No, that's not intended behavior, we should replace it too. We only need to replace the variant that rustc uses, which is the lowercase /defaultlib:xxx.
This is a quick fix, I can do it later today.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@Billyzou0741326
Comment options

@jschwe
Comment options

Answer selected by Billyzou0741326
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants