build: vendor Rust crate dependencies

This commit is contained in:
2026-08-31 18:38:07 -04:00
parent 97cca46f4e
commit b20e9c90ce
70 changed files with 7920 additions and 11 deletions

View File

@@ -0,0 +1,14 @@
use anyhow::{bail, Result};
use std::io;
pub fn bail_literal() -> Result<()> {
bail!("oh no!");
}
pub fn bail_fmt() -> Result<()> {
bail!("{} {}!", "oh", "no");
}
pub fn bail_error() -> Result<()> {
bail!(io::Error::new(io::ErrorKind::Other, "oh no!"));
}