Skip to content

DLL Suffix Panic #8308

Closed
Closed
@not-matthias

Description

@not-matthias

Problem

When changing the dll suffix an assertion will be triggered. I'm using cargo-xbuild to build a custom target and there I can add an option to change the suffix.

Steps

I created a repository with an example and the steps how to reproduce it: https://github.com/not-matthias/rust-dll-extension

Possible Solution(s)
Only the dll suffix has been changed and the dll is still the same. Thus it should be possible to just remove the assertion.

Here's the affected code:

And here's the pull request that introduced this behaviour: #8210

Notes

OS: Windows 10

Output of cargo version:

cargo 1.45.0-nightly (9fcb8c1d2 2020-05-25)

Output of rustup show:

nightly-x86_64-pc-windows-msvc (default)
rustc 1.45.0-nightly (ad4bc3323 2020-06-01)

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-bugCategory: bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions