[Edit: solved, needed to bump to 0.3.0]

Ok sorry #embedded #rust but I'm tired and I need your help.
I'm trying to add some irq stuff to my project, using https://github.com/rp-rs/rp-hal/blob/main/rp235x-hal-examples/src/bin/gpio_irq_example.rs as a template (for my rp pico 2w)
everything goes fine until the line:

hal::arch::interrupt_unmask(hal::pac::Interrupt::IO_IRQ_BANK0);

rustc tells me this function doesn't exists. I mut be missing an import or a feature, but I can't find which one. How do you troubleshoot that?

rp-hal/rp235x-hal-examples/src/bin/gpio_irq_example.rs at main · rp-rs/rp-hal

A Rust Embedded-HAL for the rp series microcontrollers - rp-rs/rp-hal

GitHub
@corpsmoderne what's the version / source of the `rp235x-hal` crate you are using?
@robo9k that was the good question to ask, I was in 0.2.0, in works in 0.3.0
@corpsmoderne I usually grep the source and trace the feature flags. In this case, there are arm-none and riscv32-none impls gated by the target triple. Maybe check that?