mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-21 22:53:37 +00:00
generator: Use ~copyrights shorthand for ~copyrights:copyrights
This commit is contained in:
@@ -985,7 +985,7 @@ and generate_php_bindtests () =
|
||||
|
||||
and generate_rust_bindtests () =
|
||||
let copyrights = ["Hiroyuki Katsura <hiroyuki.katsura.0513@gmail.com>"] in
|
||||
generate_header ~copyrights:copyrights CStyle GPLv2plus;
|
||||
generate_header ~copyrights CStyle GPLv2plus;
|
||||
|
||||
pr "extern crate guestfs;\n";
|
||||
pr "use guestfs::*;\n";
|
||||
|
||||
@@ -53,7 +53,7 @@ let translate_bad_symbols s =
|
||||
s
|
||||
|
||||
let generate_rust () =
|
||||
generate_header ~copyrights:copyrights CStyle LGPLv2plus;
|
||||
generate_header ~copyrights CStyle LGPLv2plus;
|
||||
|
||||
pr "
|
||||
use crate::base::*;
|
||||
|
||||
Reference in New Issue
Block a user