docs(readme): use node-subtensor bin name and -p flag for cargo run#2608
Open
boskodev790 wants to merge 1 commit intoopentensor:mainfrom
Open
docs(readme): use node-subtensor bin name and -p flag for cargo run#2608boskodev790 wants to merge 1 commit intoopentensor:mainfrom
boskodev790 wants to merge 1 commit intoopentensor:mainfrom
Conversation
Fixes opentensor#1807. - The workspace root Cargo.toml has no [[bin]] target and the workspace contains multiple bin crates, so `cargo run --release -- --dev` fails with `error: a bin target must be available for cargo run`. Change the example to `cargo run --release -p node-subtensor -- --dev` and add a one-sentence explainer. - The "Other ways to launch the node" section referenced the binary as `./target/release/subtensor` (x3); the produced binary is `node-subtensor` per node/Cargo.toml. - One of those lines read `./target/release/subtensor-ldebug --dev` where the `-ldebug` log-filter flag had fused into the binary name. Restore the space.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #1807.
cargo run --release -- --devfails witherror: a bin target must be available for cargo run. Change the example tocargo run --release -p node-subtensor -- --devand add a one-sentence explainer../target/release/subtensor(x3); the produced binary isnode-subtensorper node/Cargo.toml../target/release/subtensor-ldebug --devwhere the-ldebuglog-filter flag had fused into the binary name. Restore the space.Description
Related Issue(s)
Type of Change
Breaking Change
If this PR introduces a breaking change, please provide a detailed description of the impact and the migration path for existing applications.
Checklist
./scripts/fix_rust.shto ensure my code is formatted and linted correctlyScreenshots (if applicable)
Please include any relevant screenshots or GIFs that demonstrate the changes made.
Additional Notes
Please provide any additional information or context that may be helpful for reviewers.