aboutsummaryrefslogtreecommitdiffhomepage
path: root/level_zero-sys/README
diff options
context:
space:
mode:
Diffstat (limited to 'level_zero-sys/README')
-rw-r--r--level_zero-sys/README4
1 files changed, 0 insertions, 4 deletions
diff --git a/level_zero-sys/README b/level_zero-sys/README
deleted file mode 100644
index 16d29d7..0000000
--- a/level_zero-sys/README
+++ /dev/null
@@ -1,4 +0,0 @@
-sed 's/^typedef uint32_t ze_.*flags_t;$//g' include/ze_api.h > include/level_zero/ze_api.h
-sed -i -r 's/ze_(.*)_flag_t/ze_\1_flags_t/g' include/level_zero/ze_api.h
-bindgen --with-derive-default --no-default ".*format_t" --no-default ".*fd_t" --no-default ".*constants_t" --no-default ".*handle_t" --no-default ".*desc_t" --no-default ".*params_t" --size_t-is-usize --default-enum-style=newtype --bitfield-enum ".*flags_t" --whitelist-function "ze.*" --whitelist-type "ze.*" include/level_zero/ze_api.h -o src/ze_api.rs -- -Iinclude
-sed -i 's/pub struct _ze_result_t/#[must_use]\npub struct _ze_result_t/g' src/ze_api.rs