you are viewing a single comment's thread
view the rest of the comments
[–] 7 points 7 months ago (4 children)

You can run rustc directly! You just need to pass about 30 different parameters to it as well as a list of all the dependencies you use and...

Look, it works for small projects.

  • source
  • parent
  • hideshow 4 child comments
  • [–] 1 point 7 months ago (1 child)

    The only reason to do this is if you're directly integrated Rust into an existing build system (e.g. Bazel). It's not going to help with this problem at all.

  • source
  • parent
  • hideshow 1 child comment
  • [–] 2 points 7 months ago

    No, it wont. I wasn't suggesting someone should use rustc directly. You're already using Rust, so using cargo isn't adding to the supply chain.

    That being said, there was one time I needed to use rustc directly. We had an assignment that needed to be compilable from a single source file. I couldn't bundle a Cargo.toml, so I gave a build script that used rustc directly.

  • source
  • parent