Quantcast
Channel: stardot.org.uk
Viewing all articles
Browse latest Browse all 3054

programming • Re: Command-line tool for extracting/making .ssd files and tokenizing/detokenizing BBC BASIC

$
0
0
Ah, thanks.

Not sure it likes me, though:

Code:

cargo run -rerror: failed to parse manifest at `/home/scruss/c/dfstool/Cargo.toml`Caused by:  feature `edition2024` is required  The package requires the Cargo feature called `edition2024`, but that feature is not stabilized in this version of Cargo (1.84.1 (66221abde 2024-11-19)).  Consider adding `cargo-features = ["edition2024"]` to the top of Cargo.toml (above the [package] table) to tell Cargo you are opting in to use this unstable feature.  See https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#edition-2024 for more information about the status of this feature.
Not sure I can get a newer version of Rust on this machine. I had to guess I needed cargo, which I've only used once before.

... I added the thing to Cargo.toml, but ¯\_(ツ)_/¯:

Code:

…   Compiling clap_derive v4.5.40   Compiling clap v4.5.40   Compiling dfstool v0.1.0 (/home/scruss/c/dfstool)error: the option `Z` is only accepted on the nightly compilerhelp: consider switching to a nightly toolchain: `rustup default nightly`note: selecting a toolchain with `+toolchain` arguments require a rustup proxy; see <https://rust-lang.github.io/rustup/concepts/index.html>note: for more information about Rust's stability policy, see <https://doc.rust-lang.org/book/appendix-07-nightly-rust.html#unstable-features>error: 1 nightly option were parsederror: could not compile `dfstool` (bin "dfstool")Caused by:  process didn't exit successfully: `rustc --crate-name dfstool --edition=2024 -Z unstable-options src/main.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --diagnostic-width=80 --crate-type bin --emit=dep-info,link -C opt-level=3 -C embed-bitcode=no --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values())' -C metadata=d095f5c2e9e67a63 -C extra-filename=-d095f5c2e9e67a63 --out-dir /home/scruss/c/dfstool/target/release/deps -C strip=debuginfo -L dependency=/home/scruss/c/dfstool/target/release/deps --extern anyhow=/home/scruss/c/dfstool/target/release/deps/libanyhow-aeb24c4e2a1c5606.rlib --extern clap=/home/scruss/c/dfstool/target/release/deps/libclap-804c3bd6f08a7349.rlib --extern path_absolutize=/home/scruss/c/dfstool/target/release/deps/libpath_absolutize-1071f716998d0179.rlib --extern serde=/home/scruss/c/dfstool/target/release/deps/libserde-d20dd5dae15a0d67.rlib --extern serde_json=/home/scruss/c/dfstool/target/release/deps/libserde_json-601ba86602eb335a.rlib` (exit status: 1)

Statistics: Posted by scruss — Sun Jun 29, 2025 1:04 am



Viewing all articles
Browse latest Browse all 3054