From e7f2fc92c8fd64485d635b1cc7b0c2897d78bc69 Mon Sep 17 00:00:00 2001 From: Alberto Sartori Date: Tue, 23 Jul 2024 17:24:16 +0200 Subject: rules-rust: add interoperability tutorials --- doc/interoperability/c-from-rust/foo/TARGETS | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 doc/interoperability/c-from-rust/foo/TARGETS (limited to 'doc/interoperability/c-from-rust/foo/TARGETS') diff --git a/doc/interoperability/c-from-rust/foo/TARGETS b/doc/interoperability/c-from-rust/foo/TARGETS new file mode 100644 index 0000000..804b9e8 --- /dev/null +++ b/doc/interoperability/c-from-rust/foo/TARGETS @@ -0,0 +1,10 @@ +{ "foo": + { "type": ["@", "rules-cc", "CC", "library"] + , "pure C": ["true"] + , "name": ["foo"] + , "srcs": ["foo.c"] + , "hdrs": ["foo.h"] + , "stage": ["foo"] + , "ldflags": ["-lm"] + } +} -- cgit v1.2.3