Hi
I am having a problem when I am using the library on apple silicon. I thinks it's more of cargo than library problem
I can compile the library fine (after I remembered about submodules)
But when I include it in a project it fails to compile due to missing config.h (Static config?):
` cargo:warning=librsync/src/base64.c:22:10: fatal error: 'config.h' file not found
cargo:warning=#include "config.h"
cargo:warning= ^~~~~~~~~~
cargo:warning=1 error generated.
--- stderr
error occurred: Command env -u IPHONEOS_DEPLOYMENT_TARGET "cc" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-gdwarf-2" "-fno-omit-frame-pointer" "--target=arm64-apple-darwin" "-mmacosx-version-min=14.4" "-I" "librsync/static/aarch64-apple-darwin" "-I" "librsync/static" "-I" "librsync/src" "-I" "librsync/src/blake2" "-Wall" "-Wextra" "-DSTDC_HEADERS=1" "-o" "/Users/dennis/Projects/dsync/target/aarch64-apple-darwin/debug/build/librsync-sys-e8f77933a44e3c30/out/3901d9deb342bdfa-base64.o" "-c" "librsync/src/base64.c" with args cc did not execute successfully (status code exit status: 1).`
I am new to cargo, so I am a bit when to look.
I can cross-compile to x86_64-apple-darwin on the machine so the tools seems to be working. I am curious why the
target is set to arm64-apple-darwin
Hi
I am having a problem when I am using the library on apple silicon. I thinks it's more of cargo than library problem
I can compile the library fine (after I remembered about submodules)
But when I include it in a project it fails to compile due to missing config.h (Static config?):
` cargo:warning=librsync/src/base64.c:22:10: fatal error: 'config.h' file not found
cargo:warning=#include "config.h"
cargo:warning= ^~~~~~~~~~
cargo:warning=1 error generated.
--- stderr
error occurred: Command env -u IPHONEOS_DEPLOYMENT_TARGET "cc" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-gdwarf-2" "-fno-omit-frame-pointer" "--target=arm64-apple-darwin" "-mmacosx-version-min=14.4" "-I" "librsync/static/aarch64-apple-darwin" "-I" "librsync/static" "-I" "librsync/src" "-I" "librsync/src/blake2" "-Wall" "-Wextra" "-DSTDC_HEADERS=1" "-o" "/Users/dennis/Projects/dsync/target/aarch64-apple-darwin/debug/build/librsync-sys-e8f77933a44e3c30/out/3901d9deb342bdfa-base64.o" "-c" "librsync/src/base64.c" with args cc did not execute successfully (status code exit status: 1).`
I am new to cargo, so I am a bit when to look.
I can cross-compile to x86_64-apple-darwin on the machine so the tools seems to be working. I am curious why the
target is set to arm64-apple-darwin