mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +01:00
copy generated `include!`d files from script_bindings's OUT_DIR, to script's OUT_DIR to allow Rust Analyzer to load them. This is done to bypass limitation of Rust Analyzer: https://github.com/rust-lang/rust-analyzer/issues/17040 Also build script will now be rerun only when there are actual changes to concrete bindings due to emitted `cargo::rerun-if-changed` (not for each change in script crate). Testing: It compiles so it works, I tested manually and RA now works as expected (although we need to from type alias to concrete union-types definitions) Fixes: https://servo.zulipchat.com/#narrow/channel/263398-general/topic/rust-analyzer.20failed.20to.20include.20codes.20in.20script_bindings --------- Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com> |
||
---|---|---|
.. | ||
buffer_source.rs | ||
cell.rs | ||
constructor.rs | ||
conversions.rs | ||
error.rs | ||
frozenarray.rs | ||
function.rs | ||
import.rs | ||
inheritance.rs | ||
like.rs | ||
mod.rs | ||
principals.rs | ||
proxyhandler.rs | ||
refcounted.rs | ||
reflector.rs | ||
root.rs | ||
serializable.rs | ||
settings_stack.rs | ||
str.rs | ||
structuredclone.rs | ||
trace.rs | ||
transferable.rs | ||
utils.rs | ||
weakref.rs | ||
xmlname.rs |