Commit Graph

10 Commits

Author SHA1 Message Date
Kamil Jarosz e75851f4fa Revert "web: No longer set the `web_sys_unstable_apis` config variable"
This reverts commit 5b7c48e43d.

Co-authored-by: TÖRÖK Attila <torokati44@gmail.com>
2024-06-19 00:15:07 +02:00
TÖRÖK Attila 5b7c48e43d web: No longer set the `web_sys_unstable_apis` config variable 2024-03-02 16:13:43 +01:00
TÖRÖK Attila 893a4962de build: Switch to linking with LLD on Windows 2024-02-28 00:20:47 +01:00
TÖRÖK Attila 60f01fd517 chore: Move lint configuration from `.cargo/config.toml` to `Cargo.toml`
This got stabilized in Rust 1.74.
2024-01-05 11:28:19 +01:00
nosamu 7dfc36c6fc web: Support pasting from clipboard 2023-05-21 15:26:42 +02:00
Aaron Hill c597f9f996 core: Fix Clippy lints on nightly 2023-02-13 03:38:54 +01:00
TÖRÖK Attila 135833e400 chore: Add a note to cargo config about RUSTFLAGS in the web build 2022-05-17 13:07:40 -07:00
Mike Welsh 55da3cd7d0 chore: Add .cargo/config.toml for workspace-level lint config
Currently it is not directly possible to configure lints for the
entire workspace via TOML, which forced us to repeat `#![allow]`
blocks in each crate.

embark pointed out this workaround to configure lints at the
workspace level via RUSTFLAGS:

https://github.com/EmbarkStudios/rust-ecosystem/issues/22#issuecomment-947011395

Remove the common `#![allow]` blocks and switch to this method for
global lint config.

Temporarily allow `needless_borrow` lint, buggy pending this fix:
https://github.com/rust-lang/rust-clippy/pull/8355
2022-01-29 14:22:44 -08:00
TÖRÖK Attila ab69c12649 web: Build two WASM modules, with/without extensions, load the appropriate one 2022-01-12 11:29:16 -08:00
Mike Welsh df11cd6a04 web: Enable web_sys_unstable_apis
Enable web_sys_unstable_apis RUSTFLAGS in .cargo/config.toml.
These are necessary to use WebGPU in the browser, as well as other
features such as clipboard.
2021-10-24 17:20:19 -07:00