Skip to content

Update esp-println requirement from 0.16 to 0.17 in /tests/xtensa#60

Open
dependabot[bot] wants to merge 5 commits intomainfrom
dependabot/cargo/tests/xtensa/esp-println-0.17
Open

Update esp-println requirement from 0.16 to 0.17 in /tests/xtensa#60
dependabot[bot] wants to merge 5 commits intomainfrom
dependabot/cargo/tests/xtensa/esp-println-0.17

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github May 2, 2026

Updates the requirements on esp-println to permit the latest version.

Release notes

Sourced from esp-println's releases.

0.17.0

Please note that only changes to the esp-hal package are tracked in these release notes. Read the full changelog entry for all the changes.

esp-hal@0.17.x Migration Guide

This release changes interrupt handler binding from link-time binding to runtime-binding. This increases flexibility of how interrupts can be used, but the main reason is two allow mixing mixing async and non-async drivers in the same application.

Key changes

The biggest change is the removal of the #[interrupt] macro. It has been replaced by the #[handler] macro which works differently slightly differently.

Now you have to bind the interrupt handler explicitly. The supported peripheral drivers either take a new optional parameter to their constructor or it will offer a set_interrupt_handler function. Don't worry, if you forget to do this, the compiler will emit an unused warning for the #[handler] function.

The second change is that most drivers will now have a MODE parameter with some new constructors to initialize a driver in Blocking or Async mode. You will need to account for this in your code.

Finally, most root level re-exports are now gone, instead, you should import from the specific module.

Below is a list of key changes you need to make to upgrade.

There is no longer a need to enable interrupts manually unless you are changing a priority later in the application. This change also means the interrupt is enabled once the interrupt is used, so please ensure that you have the proper ordering of initialization or critical sections to account for that.

- interrupt::enable(Interrupt::GPIO, Priority::Priority2).unwrap();

Use the new handler macro.

- #[interrupt]
+ #[handler]

Ensure you set the handler, depending on the peripheral this may be part of the constructor or a method such as the one below.

+ io.set_interrupt_handler(handler);

Interrupts are now tightly coupled to their priority, meaning you can pass a priority to the handler macro. The default unless specified is the lowest priority.

+ #[handler(priority = "Priority::max()")]
Commits

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Updates the requirements on [esp-println](https://github.com/esp-rs/esp-hal) to permit the latest version.
- [Release notes](https://github.com/esp-rs/esp-hal/releases)
- [Commits](esp-rs/esp-hal@esp-println-v0.16.0...esp-println-v0.17.0)

---
updated-dependencies:
- dependency-name: esp-println
  dependency-version: 0.17.0
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
taiki-e added 3 commits May 4, 2026 16:35
```
thread 'rustc' (2647) panicked at /rustc-dev/ad3a598ca4bc7c68bcbbce3e0d3be9a7618df190/compiler/rustc_codegen_gcc/src/builder.rs:365:66:
function ptr
stack backtrace:
libgccjit.so: error: : gcc_jit_context_new_cast: cannot cast _RINvNvNtCs1OMrxd8Wa6Z_3std9panicking12catch_unwind7do_callINtNtNtCsanpdEcSfypT_4core5panic11unwind_safe16AssertUnwindSafeNCINvNtNtCsdNZgdUPYkLl_10proc_macro6bridge6client10run_clientNtB20_11TokenStreamINtNtB11_6option6OptionB2U_ENCNCINvMsg_B20_INtB20_6ClientNtB24_11TokenStreamB48_E7expand1NvCsbTCd6HoQWjq_5paste4exprE00E0EuEB4G_ from type: void (*) (__int8_t *) to type: void

thread 'rustc' (2624) panicked at /rustc-dev/ad3a598ca4bc7c68bcbbce3e0d3be9a7618df190/compiler/rustc_codegen_gcc/src/builder.rs:365:66:
function ptr
stack backtrace:
   0: __rustc::rust_begin_unwind
   0: __rustc::rust_begin_unwind
   1: core::panicking::panic_fmt
   2: core::option::expect_failed
   1: core::panicking::panic_fmt
   2: core::option::expect_failed
   3: <rustc_codegen_gcc::builder::Builder>::function_ptr_call
   4: rustc_codegen_gcc::intrinsic::try_intrinsic
   5: <rustc_codegen_gcc::builder::Builder as rustc_codegen_ssa::traits::intrinsic::IntrinsicCallBuilderMethods>::codegen_intrinsic_call
   6: <rustc_codegen_ssa::mir::FunctionCx<rustc_codegen_gcc::builder::Builder>>::codegen_intrinsic_call
   7: <rustc_codegen_ssa::mir::FunctionCx<rustc_codegen_gcc::builder::Builder>>::codegen_call_terminator
   8: <rustc_codegen_ssa::mir::FunctionCx<rustc_codegen_gcc::builder::Builder>>::codegen_terminator
   9: rustc_codegen_ssa::mir::codegen_mir::<rustc_codegen_gcc::builder::Builder>
  10: rustc_codegen_gcc::base::compile_codegen_unit::module_codegen
  11: <rustc_codegen_gcc::GccCodegenBackend as rustc_codegen_ssa::traits::backend::ExtraBackendMethods>::compile_codegen_unit
  12: rustc_codegen_ssa::base::codegen_crate::<rustc_codegen_gcc::GccCodegenBackend>
   3: <rustc_codegen_gcc::builder::Builder>::function_ptr_call
   4: rustc_codegen_gcc::intrinsic::try_intrinsic
   5: <rustc_codegen_gcc::builder::Builder as rustc_codegen_ssa::traits::intrinsic::IntrinsicCallBuilderMethods>::codegen_intrinsic_call
   6: <rustc_codegen_ssa::mir::FunctionCx<rustc_codegen_gcc::builder::Builder>>::codegen_intrinsic_call
   7: <rustc_codegen_ssa::mir::FunctionCx<rustc_codegen_gcc::builder::Builder>>::codegen_call_terminator
   8: <rustc_codegen_ssa::mir::FunctionCx<rustc_codegen_gcc::builder::Builder>>::codegen_terminator
   9: rustc_codegen_ssa::mir::codegen_mir::<rustc_codegen_gcc::builder::Builder>
  10: rustc_codegen_gcc::base::compile_codegen_unit::module_codegen
  11: <rustc_codegen_gcc::GccCodegenBackend as rustc_codegen_ssa::traits::backend::ExtraBackendMethods>::compile_codegen_unit
  12: rustc_codegen_ssa::base::codegen_crate::<rustc_codegen_gcc::GccCodegenBackend>
  13: <rustc_codegen_gcc::GccCodegenBackend as rustc_codegen_ssa::traits::backend::CodegenBackend>::codegen_crate
  14: <rustc_interface::queries::Linker>::codegen_and_build_linker
  15: rustc_interface::interface::run_compiler::<(), rustc_driver_impl::run_compiler::{closure#0}>::{closure#1}
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
```
@taiki-e taiki-e force-pushed the main branch 3 times, most recently from 49e18d9 to 4059f08 Compare May 5, 2026 15:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant