Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Regression / AssertError in cacheArtifactPath #2855

Open
WebFreak001 opened this issue Feb 14, 2024 · 0 comments
Open

Regression / AssertError in cacheArtifactPath #2855

WebFreak001 opened this issue Feb 14, 2024 · 0 comments

Comments

@WebFreak001
Copy link
Member

WebFreak001 commented Feb 14, 2024

https://github.com/dlang/dub/blame/5f4ea8e18d1e0da2d50b35a5c75e70ccacc80743/source/dub/generators/targetdescription.d#L50

triggers this error when running a TargetDescriptionGenerator on a package with targetType sourceLibrary:

core.exception.AssertError@../../../.dub/packages/dub/1.36.0/dub/source/dub/internal/vibecompat/inet/path.d(238): Cannot append empty path string.
----------------
??:? _d_assert_msg [0x55d7a83b8e98]
../../../.dub/packages/dub/1.36.0/dub/source/dub/internal/vibecompat/inet/path.d:238 const dub.internal.vibecompat.inet.path.NativePath dub.internal.vibecompat.inet.path.NativePath.opBinary!("~").opBinary(immutable(char)[]) [0x55d7a80a7f87]
../../../.dub/packages/dub/1.36.0/dub/source/dub/generators/targetdescription.d:50 void dub.generators.targetdescription.TargetDescriptionGenerator.generateTargets(dub.generators.generator.GeneratorSettings, in dub.generators.generator.ProjectGenerator.TargetInfo[immutable(char)[]]).visitTargetRec(immutable(char)[]) [0x55d7a80601ca]
../../../.dub/packages/dub/1.36.0/dub/source/dub/generators/targetdescription.d:68 void dub.generators.targetdescription.TargetDescriptionGenerator.generateTargets(dub.generators.generator.GeneratorSettings, in dub.generators.generator.ProjectGenerator.TargetInfo[immutable(char)[]]) [0x55d7a805ff0e]
../../../.dub/packages/dub/1.36.0/dub/source/dub/generators/generator.d:185 void dub.generators.generator.ProjectGenerator.generate(dub.generators.generator.GeneratorSettings) [0x55d7a80532ad]
../../workspace-d/source/workspaced/com/dub.d:237 bool workspaced.com.dub.DubComponent.updateImportPaths(bool) [0x55d7a7c3d8ce]
../../workspace-d/source/workspaced/com/dub.d:94 void workspaced.com.dub.DubComponent.load() [0x55d7a7c3cace]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant