[pve-devel] rust build questions

Dietmar Maurer dietmar at proxmox.com
Wed May 5 08:43:17 CEST 2021


> currently, I have tried to build "proxmox" rust
> 
> https://git.proxmox.com/?p=proxmox.git;a=shortlog
> with a simple
> "make deb" + installed needed build depend.
> 
> but I have this error
> 
> 
> "
> test src/tools/websocket.rs - tools::websocket::create_frame (line 161)
> ... ok
> test src/tools/websocket.rs - tools::websocket::create_frame (line 148)
> ... ok
> 
> failures:
> 
> ---- src/api/api_type_macros.rs - api_string_type (line 5) stdout ----
> error[E0432]: unresolved import `proxmox::api::api`
>  --> src/api/api_type_macros.rs:6:5
>   |
> 4 | use proxmox::api::api;
>   |     ^^^^^^^^^^^^^^^^^ no `api` in `api`

Sorry, this was a bug in the proxmox crate. Please update an test again:

commit fa3b5374ed61da3c40a1fc58070d6a16c877c3af (HEAD -> master, origin/master, origin/HEAD)
Author: Dietmar Maurer <dietmar at proxmox.com>
Date:   Wed May 5 08:03:35 2021 +0200

    api_type_macros.rs: disable failing doctest (set it to ignore instead of no_run)





More information about the pve-devel mailing list