Skip to content

Instantly share code, notes, and snippets.

@CoolOppo
CoolOppo / Cargo.toml
Last active July 12, 2024 18:51
How to compile to a DLL in rust while using it as a normal rust library
[package]
name = "test"
version = "0.1.0"
authors = ["YOU <YOU@users.noreply.github.com>"]
edition = "2018"
[lib]
crate-type = ["cdylib"]