Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(rustic-babel): disable toolchain when invalid/unneeded #3

Merged
merged 3 commits into from
Jul 8, 2024

Commits on May 17, 2024

  1. fix(rustic-babel): disable toolchain when invalid/unneeded

    When the user installs Rust tools using a method other than rustup, e.g. using
    an operating system's package manager, cargo generally has no support for
    toolchain specification. In such case, the user can then `nil', or `""', so that
    the respective functions in `rustic-babel' will remove the toolchain from
    params, i.e. only toolchain has a valid value if Cargo has toolchain support.
    
    See also: brotzeit/rustic#279 (comment)
    
    Fixes #498 introduced in 80d05c4
    
    Co-authored-by: Sibi Prabakaran <[email protected]>
    2 people authored and CeleritasCelery committed May 17, 2024
    Configuration menu
    Copy the full SHA
    47f52ef View commit details
    Browse the repository at this point in the history

Commits on Jul 8, 2024

  1. Refactor default toolchain for babel blocks

    We are setting the default to `nil`, which means use the default provided by
    cargo and don't specify it explicitly. If overridden with a string value, that
    will be used instead and passed as +<toolchain>.
    CeleritasCelery committed Jul 8, 2024
    Configuration menu
    Copy the full SHA
    f16f5ed View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    97ae8a6 View commit details
    Browse the repository at this point in the history