mirror of
https://github.com/Noratrieb/cargo-minimize.git
synced 2026-01-14 16:35:01 +01:00
Merge pull request #6 from albertlarsan68/patch-1
Correct compile error on Windows
This commit is contained in:
commit
1674370e37
1 changed files with 1 additions and 1 deletions
|
|
@ -50,7 +50,7 @@ fn wrap_func_body(func: &str) -> Result<String> {
|
||||||
impl RustFunction {
|
impl RustFunction {
|
||||||
#[cfg(not(unix))]
|
#[cfg(not(unix))]
|
||||||
pub fn compile(body: &str) -> Result<Self> {
|
pub fn compile(body: &str) -> Result<Self> {
|
||||||
Err(anyhow::anyhow!("--verify-fn only works on unix"));
|
Err(anyhow::anyhow!("--verify-fn only works on unix"))
|
||||||
}
|
}
|
||||||
|
|
||||||
#[cfg(unix)]
|
#[cfg(unix)]
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue