-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Simplify bevy_tasks
Features
#19091
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
Simplify bevy_tasks
Features
#19091
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -50,3 +50,14 @@ pub mod prelude { | |
// * println | ||
// * thread_local | ||
} | ||
|
||
/// Re-exports of crates that are useful across Bevy. | ||
/// Not intended for external crates to use. | ||
#[doc(hidden)] | ||
pub mod exports { | ||
crate::cfg::web! { | ||
pub use js_sys; | ||
pub use wasm_bindgen; | ||
pub use wasm_bindgen_futures; | ||
} | ||
} | ||
Comment on lines
+54
to
+63
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This addition is what will allow the A similar technique could be used to remove |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I noticed that thanks to
web-time
, ourweb
feature isn'tno_std
at this moment. There isno_std
support on their GitHub repo already merged though, so hopefully we can bring that functionality soon.It's frustrating, because ideally we would just enable
web-time
iffstd
andweb
are enabled, but there is no way to do that with Cargo features at this time.