Skip to content

Commit dd5cb06

Browse files
authored
chore(render): Add generated Rust render crate (#419)
We previously added a CMake target `render_source_dir_ebpf_net` to copy generated Rust source files into the source folder. This commit adds the files generated by the command. It is a separate commit to not overload code review. All code is generated.
1 parent 5770c3a commit dd5cb06

File tree

28 files changed

+18540
-0
lines changed

28 files changed

+18540
-0
lines changed
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
[package]
2+
name = "encoder_ebpf_net_agent_internal"
3+
version = "0.1.0"
4+
edition = "2021"
5+
6+
[lib]
7+
# Build as both rlib and staticlib
8+
# - rlib: lets Rust binaries depend on this crate via Cargo and expose
9+
# the #[no_mangle] extern "C" encoder symbols during Rust linking.
10+
# - staticlib: keeps support for direct C/C++ linking where needed.
11+
crate-type = ["rlib", "staticlib"]
12+
13+
[profile.release]
14+
opt-level = 3
15+
lto = true
16+
codegen-units = 1

0 commit comments

Comments
 (0)