[pbs-devel] [PATCH proxmox 10/10] pve-api-types: specify rustfmt --edition 2024
Maximiliano Sandoval
m.sandoval at proxmox.com
Mon Jan 26 16:13:47 CET 2026
Signed-off-by: Maximiliano Sandoval <m.sandoval at proxmox.com>
---
pve-api-types/generate.pl | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/pve-api-types/generate.pl b/pve-api-types/generate.pl
index e5c5d051..3f222e31 100755
--- a/pve-api-types/generate.pl
+++ b/pve-api-types/generate.pl
@@ -581,14 +581,14 @@ my $type_pid = open2(
'>&'.fileno($type_fh),
my $type_pipe,
#'cat',
- 'rustfmt', '--edition=2021', '--config', 'wrap_comments=true'
+ 'rustfmt', '--edition=2024', '--config', 'wrap_comments=true'
);
open(my $code_fh, '>', $code_out_file) or die "failed to open '$code_out_file': $!\n";
my $code_pid = open2(
'>&'.fileno($code_fh),
my $code_pipe,
#'cat',
- 'rustfmt', '--edition=2021', '--config', 'wrap_comments=true'
+ 'rustfmt', '--edition=2024', '--config', 'wrap_comments=true'
);
close($type_fh);
close($code_fh);
--
2.47.3
More information about the pbs-devel
mailing list