summaryrefslogtreecommitdiff
path: root/test cases/rust/12 bindgen/src/gen_header.py
blob: 07b699b1cd55539ff4cce7c42223091fd93cb22e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/usr/bin/env python3
# SPDX-license-Identifier: Apache-2.0
# Copyright © 2021-2023 Intel Corporation

import argparse
import shutil


def main() -> None:
    parser = argparse.ArgumentParser()
    parser.add_argument('input')
    parser.add_argument('output')
    args = parser.parse_args()

    shutil.copy2(args.input, args.output)


if __name__ == "__main__":
    main()