You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am curious if you would be willing to add some default implementations to this crate to allow for compilation on unknown targets?
These implementations could panic on use but would allow this crate to compile.
The reason I bring this up is that there seem to be a few libraries that are exposing this crate even though they aren't using the functionality. For example mdbook depends on handlebars (with default features) which depends on walkdir which depends on this crate. That means if I wanted to use the structs exported by the mdbook library in a project that is compiling to say wasm32-unknown-unknown the compiler stops me. This specific example could be solved by getting mdbook's handlebars dependency updated to use the no_dir_source feature but since this isn't the first time I've run into this problem I thought it might be worth exploring solving it at this level.
In most situations there would still be an issue at a higher level but it would at least alleviate a small amount of pain.
The text was updated successfully, but these errors were encountered:
I am curious if you would be willing to add some default implementations to this crate to allow for compilation on unknown targets?
These implementations could panic on use but would allow this crate to compile.
The reason I bring this up is that there seem to be a few libraries that are exposing this crate even though they aren't using the functionality. For example
mdbook
depends on handlebars (with default features) which depends onwalkdir
which depends on this crate. That means if I wanted to use the structs exported by themdbook
library in a project that is compiling to saywasm32-unknown-unknown
the compiler stops me. This specific example could be solved by gettingmdbook
'shandlebars
dependency updated to use theno_dir_source
feature but since this isn't the first time I've run into this problem I thought it might be worth exploring solving it at this level.In most situations there would still be an issue at a higher level but it would at least alleviate a small amount of pain.
The text was updated successfully, but these errors were encountered: