diff --git a/capstone-rs/README.md b/capstone-rs/README.md deleted file mode 100644 index c279b367..00000000 --- a/capstone-rs/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# capstone-rs - -See [`README.md` at the root of the repo](../README.md) diff --git a/capstone-rs/README.md b/capstone-rs/README.md new file mode 120000 index 00000000..32d46ee8 --- /dev/null +++ b/capstone-rs/README.md @@ -0,0 +1 @@ +../README.md \ No newline at end of file diff --git a/capstone-rs/src/lib.rs b/capstone-rs/src/lib.rs index 42ce0c3f..92abd8b0 100644 --- a/capstone-rs/src/lib.rs +++ b/capstone-rs/src/lib.rs @@ -1,4 +1,4 @@ -#![doc = include_str!("../../README.md")] +#![doc = include_str!(concat!(env!("CARGO_MANIFEST_DIR"), "/README.md"))] #![cfg_attr(not(feature = "std"), no_std)] // derive Default on enums was not stable until 1.62.0 #![allow(clippy::derivable_impls)]