parent
440bea29f8
commit
4301b9a7c3
1 changed files with 1 additions and 4 deletions
|
@ -1,7 +1,4 @@
|
||||||
export const createLibRs = () => `#![deny(clippy::all)]
|
export const createLibRs = () => `use napi_derive::napi;
|
||||||
|
|
||||||
#[macro_use]
|
|
||||||
extern crate napi_derive;
|
|
||||||
|
|
||||||
#[napi]
|
#[napi]
|
||||||
pub fn sum(a: i32, b: i32) -> i32 {
|
pub fn sum(a: i32, b: i32) -> i32 {
|
||||||
|
|
Loading…
Reference in a new issue