Skip to content

rust-script >= 0.23.0 fails with current version of snakemake #3183

@jackerschott

Description

@jackerschott

Snakemake version
8.25.1

Describe the bug
rust-script>=0.23.0 fails with the current version of snakemake since snakemake provides an outdated command line.

Logs

Minimal example
Use rust-script with a version >= 0.23.0, with a snakefile

workflow/Snakefile
---
rule all:
    input:
        "bla.txt"

rule bla:
    output:
        "bla.txt"
    script:
        "scripts/bla.rs"

and a rust script

workflow/scripts/bla.rs
---
std::fs::File::create(&snakemake.output[0]).unwrap();

The snakemake execution will fail with either the argument '--dep <dep>' cannot be used multiple times or unexpected argument '--features' found.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions