From f9d6ff50f520bda2d5023a2c4028aac3fa7ed6ac Mon Sep 17 00:00:00 2001 From: Niko Date: Mon, 8 Apr 2024 20:51:48 -0600 Subject: [PATCH] add rustdocflags --- .cargo/config.toml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.cargo/config.toml b/.cargo/config.toml index 381f0d83..d3efc51d 100644 --- a/.cargo/config.toml +++ b/.cargo/config.toml @@ -5,3 +5,6 @@ rustflags = ["-Ctarget-cpu=native", "--cfg", "tokio_unstable", "-C", "link-arg=- [target.x86_64-unknown-linux-musl] linker = "clang" rustflags = ["-Ctarget-cpu=native", "--cfg", "tokio_unstable", "-C", "link-arg=-fuse-ld=mold", "-Zshare-generics=y"] + +[build] +rustdocflags = ["--cfg", "tokio_unstable"]