Browse code

Fix build issue in oss-fuzz environment

There is an error building clam with the rust nightly compiler:

error[E0635]: unknown feature `proc_macro_span_shrink`
--> /rust/registry/src/index.crates.io-6f17d22bba15001f/proc-macro2-1.0.56/src/lib.rs:92:30
|
92 | feature(proc_macro_span, proc_macro_span_shrink)
| ^^^^^^^^^^^^^^^^^^^^^^

We need this to work because oss-fuzz is apparently using rust nightly
in their image.

Bumping the proc-macro2 crate version in Cargo.lock resolves the error.

Micah Snyder authored on 2023/08/11 09:48:22
Showing 1 changed files
... ...
@@ -699,9 +699,9 @@ dependencies = [
699 699
 
700 700
 [[package]]
701 701
 name = "proc-macro2"
702
-version = "1.0.56"
702
+version = "1.0.66"
703 703
 source = "registry+https://github.com/rust-lang/crates.io-index"
704
-checksum = "2b63bdb0cd06f1f4dedf69b254734f9b45af66e4a031e42a7480257d9898b435"
704
+checksum = "18fb31db3f9bddb2ea821cde30a9f70117e3f119938b5ee630b7403aa6e2ead9"
705 705
 dependencies = [
706 706
  "unicode-ident",
707 707
 ]