1
0
mirror of https://github.com/google/comprehensive-rust.git synced 2025-05-16 23:55:42 +02:00
c6c7 5e72cf5687
Bump proc-macro2 from 1.0.50 to 1.0.66 in /src/bare-metal/microcontro… (#1160)
…llers/examples

The proc-macro2 dependency at 1.0.50 results in a build error mentioning
an unknown feature `proc_macro_span_shrink` that no longer exists in
nightly. Per https://github.com/rust-lang/rust/issues/113152, updating
proc-macro2 to the latest version fixes the error.

The build error I saw before updating the proc-macro2 dependency was the
following:

```
> cargo build --bin minimal
   Compiling proc-macro2 v1.0.50
   Compiling bare-metal v0.2.5
   Compiling typenum v1.16.0
   Compiling nrf52833-hal v0.14.1
error[E0635]: unknown feature `proc_macro_span_shrink`
  --> /home/chcl/.cargo/registry/src/index.crates.io-6f17d22bba15001f/proc-macro2-1.0.50/src/lib.rs:92:30
   |
92 |     feature(proc_macro_span, proc_macro_span_shrink)
   |                              ^^^^^^^^^^^^^^^^^^^^^^

   Compiling cortex-m v0.7.7
For more information about this error, try `rustc --explain E0635`.
error: could not compile `proc-macro2` (lib) due to previous error
warning: build failed, waiting for other jobs to finish...
```
2023-09-04 11:50:12 +01:00
..
2023-03-30 13:25:34 +01:00
2023-05-23 12:57:38 +00:00
2023-07-18 13:32:45 +02:00
2023-07-21 15:01:10 -07:00
2023-04-24 14:46:38 -04:00
2023-08-14 08:14:05 +02:00
2023-07-17 22:38:48 -07:00
2023-05-03 12:00:58 +02:00
2023-04-14 14:06:50 +00:00
2022-12-21 16:38:28 +01:00
2023-07-12 09:43:02 -07:00
2022-12-21 16:38:28 +01:00
2022-12-21 16:38:28 +01:00
2023-07-25 08:54:41 +02:00
2022-12-21 16:38:28 +01:00
2023-01-23 12:44:07 +00:00
2022-12-21 16:38:28 +01:00
2022-12-21 16:38:28 +01:00
2023-03-30 13:25:34 +01:00
2023-01-30 13:12:51 +00:00
2022-12-21 16:38:28 +01:00
2023-01-17 11:42:31 +00:00