Rust (and Python) developer. Pretty good with the beep-boop computery stuff

  • 0 Posts
  • 5 Comments
Joined 1 year ago
cake
Cake day: June 26th, 2023

help-circle




  • fnmain@programming.devtoRust@programming.devCargo env file?
    link
    fedilink
    arrow-up
    4
    arrow-down
    1
    ·
    edit-2
    8 months ago

    The way I can think of to do this is to make a program called cargo-build-env which reads a file of your choosing with the features and executes cargo, then place that binary in your ~/.cargo/bin directory. Then you can run cargo build-env to build your program

    The program can be in any language as long as it’s executable, including shell script