summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthieuCoder <matthieu@matthieu-dev.xyz>2023-01-16 17:59:38 +0400
committerMatthieuCoder <matthieu@matthieu-dev.xyz>2023-01-16 17:59:38 +0400
commit4ed0e734e115d90bf613b7de7c6792e397569553 (patch)
treee036c5bd2c3ad920b6ea135f47d110cb87bd5fb2
parentcceb597c4591a51c07a56b8246539f415f8e1264 (diff)
fix header import
-rw-r--r--Dockerfile1
-rw-r--r--internal/pkg/all-in-one/.gitignore1
-rw-r--r--internal/pkg/all-in-one/all-in-one.go2
3 files changed, 2 insertions, 2 deletions
diff --git a/Dockerfile b/Dockerfile
index 4e54bbf..3eba9a0 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,5 +1,6 @@
FROM rust AS chef
USER root
+COPY .cargo .cargo
RUN cargo install cargo-chef
RUN apt-get update && apt-get install -y protobuf-compiler
WORKDIR /app
diff --git a/internal/pkg/all-in-one/.gitignore b/internal/pkg/all-in-one/.gitignore
deleted file mode 100644
index ca1584e..0000000
--- a/internal/pkg/all-in-one/.gitignore
+++ /dev/null
@@ -1 +0,0 @@
-all-in-one.h
diff --git a/internal/pkg/all-in-one/all-in-one.go b/internal/pkg/all-in-one/all-in-one.go
index b95d515..7badf33 100644
--- a/internal/pkg/all-in-one/all-in-one.go
+++ b/internal/pkg/all-in-one/all-in-one.go
@@ -2,7 +2,7 @@ package allinone
/*
#cgo LDFLAGS: -L../../../build/lib -lall_in_one -lz -lm
-#include "./all-in-one.h"
+#include "./all_in_one.h"
#include "./error_handler.h"
*/
import "C"