To summarize, with bindgen-0.56 provided by @xnox (ppa:xnox/nonvirt) and this rust-1.62 everything looks good, except for this minor issue:
*** Source code for the 'core' standard library could not be found
*** at '/usr/lib/rust-1.62/lib/rustlib/src/rust/library/core/src/lib.rs'.
If we can somehow automatically symlink /usr/lib/rust-1.62/lib/rustlib/src/rust -> /usr/src/rustc-1.62.1 we are golden and we can start releasing a Rust-enabled Ubuntu kernel.
To summarize, with bindgen-0.56 provided by @xnox (ppa:xnox/nonvirt) and this rust-1.62 everything looks good, except for this minor issue:
*** Source code for the 'core' standard library could not be found rust-1. 62/lib/ rustlib/ src/rust/ library/ core/src/ lib.rs' .
*** at '/usr/lib/
If we can somehow automatically symlink /usr/lib/ rust-1. 62/lib/ rustlib/ src/rust -> /usr/src/ rustc-1. 62.1 we are golden and we can start releasing a Rust-enabled Ubuntu kernel.