-
Notifications
You must be signed in to change notification settings - Fork 83
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Right now for shader crate to compile crate-type = ["dylib"] is needed to be specified in Cargo.toml.
This is annoying in case when a library is not just a shader, but also a regular dependency of other crates since this makes compiler generate extra libshader_crate.so shared objects in target/{release,debug}.
This can be worked around with cargo rustc --crate-type dylib when compiling normally, so maybe codegen backend or cargo-gpu could do something like that transparently and implicitly?
Feel free to move this into Has nothing to do with cargo-gpu.cargo-gpu repository if it makes more sense to be there.
charles-r-earp and Firestar99
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request