Skip to content

Invalid resource file generated on MSVC #3

@larsbergstrom

Description

@larsbergstrom

This came up in the context of Servo:
servo/servo#11969 (comment)

Basically, the issue is that the MSVC codepath uses res to create a .res file, but just renames it to .lib:
https://github.com/mxre/winres/blob/master/lib.rs#L466

Instead, it could either:

  1. Call cvtres and then lib to turn the .res into a .lib
  2. Pass the .res file directly along to the final link.exe line that is being executed by rustc

Do you have a preference, @mxre?

CC @Coder206

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions