docs: enhance README and Makefile for clarity and functionality

- Improved descriptions of key features in the README, emphasizing type safety, symbol resolution, error handling, logging, and command-line interface.
- Updated the Makefile to include a specific RUSTFLAGS setting for building the blazesym library, enhancing build safety and control.
This commit is contained in:
yunwei37
2025-09-01 12:37:30 +00:00
parent 30d7601b07
commit 83ac64b8ef
2 changed files with 6 additions and 10 deletions

View File

@@ -95,7 +95,7 @@ $(BPFTOOL): | $(BPFTOOL_OUTPUT)
$(LIBBLAZESYM_SRC)/target/release/libblazesym.a::
$(Q)cd $(LIBBLAZESYM_SRC) && $(CARGO) build --features=cheader,dont-generate-test-files --release
$(Q)cd $(LIBBLAZESYM_SRC) && RUSTFLAGS="-A dangerous_implicit_autorefs" $(CARGO) build --features=cheader,dont-generate-test-files --release
$(LIBBLAZESYM_OBJ): $(LIBBLAZESYM_SRC)/target/release/libblazesym.a | $(OUTPUT)
$(call msg,LIB, $@)