HomePhabricator

[BITCOIN-ABC][WEB] Allowing rust analyser to work in web/explorer

Description

[BITCOIN-ABC][WEB] Allowing rust analyser to work in web/explorer

Summary:
This error appears in the output section on VScode:

2024-12-05T03:00:51.754466Z ERROR notification handler failed handler=textDocument/didSave error=file not found: /Users/hazza/bitcoin-abc/web/explorer/explorer-exe/Cargo.toml

Removed the Cargo.toml + Cargo.lock file in explorer and appended the 'Cargo.toml paths for explorer-exe && explorer-server into the main workspace in bitcoin-abc/Cargo.toml

This allowed rust analyzer to work on .rs files inside the explorer dir.

Test Plan: ninja check-functional cargo check cargo run

Reviewers: tobias_ruck, #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

Subscribers: Fabien

Differential Revision: https://reviews.bitcoinabc.org/D17292

Details

Provenance
hazzarustAuthored on Dec 5 2024, 03:33
hazzarustPushed on Dec 7 2024, 13:00
Reviewer
Restricted Project
Differential Revision
D17292: [BITCOIN-ABC][WEB] Allowing rust analyser to work in web/explorer
Parents
rABC6b3987abc00a: test: Remove workarounds in authproxy
Branches
Unknown
Tags
Unknown