vendor assert_no_alloc with ensure_no_alloc function added

This commit is contained in:
Matthew LeVan 2024-01-17 15:14:17 -05:00
parent 6eba257803
commit a91442491d
3 changed files with 3 additions and 4 deletions

2
rust/ares/Cargo.lock generated
View File

@ -62,8 +62,6 @@ dependencies = [
[[package]]
name = "assert_no_alloc"
version = "1.1.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "55ca83137a482d61d916ceb1eba52a684f98004f18e0cafea230fe5579c178a3"
[[package]]
name = "atty"

View File

@ -15,9 +15,9 @@ ares_macros = { path = "../ares_macros" }
# Use this when debugging requires the debug printfs in the PMA
# ares_pma = { path = "../ares_pma", features=["debug_prints"] }
ares_pma = { path = "../ares_pma" }
assert_no_alloc = "1.1.2"
assert_no_alloc = { path = "../rust-assert-no-alloc" }
# use this when debugging requires allocation (e.g. eprintln)
# assert_no_alloc = {version="1.1.2", features=["warn_debug"]}
# assert_no_alloc = { path = "../rust-assert-no-alloc", features=["warn_debug"] }
bitvec = "1.0.0"
criterion = "0.4"
either = "1.9.0"

@ -0,0 +1 @@
Subproject commit 11f0f41123f7fcaf0ad1c23a6a17d97f4650e824