From e19a72a20d5cb35d6f3873f308a3a98d7046d762 Mon Sep 17 00:00:00 2001 From: Mason Reed Date: Sat, 25 Jan 2025 15:41:29 -0500 Subject: Fix statically linking PDB import plugin for demo builds --- rust/Cargo.toml | 3 +++ 1 file changed, 3 insertions(+) (limited to 'rust/Cargo.toml') diff --git a/rust/Cargo.toml b/rust/Cargo.toml index 86e527d6..0a17730c 100644 --- a/rust/Cargo.toml +++ b/rust/Cargo.toml @@ -8,6 +8,9 @@ rust-version = "1.83.0" [features] # This is used when statically linking to prevent exporting CorePluginABIVersion and UiPluginABIVersion. no_exports = [] +# Add this if you want to support the demo version of the product. +# This will disable certain functions that do not exist in the demo build. +demo = ["no_exports"] [dependencies] log = { version = "0.4", features = ["std"] } -- cgit v1.3.1