-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Vastly improve mounting in aisap-zig
* Go -> C bindings have been removed. Most parts of it have been ported to Zig and maintaining it was just slowing me down * build.zig `linkVendored` has been renamed to `link` * libfuse-dev (assuming Debian-based system) is no longer required to build * Mounting in aisap-zig still not ideal, the current solution is to daemonize libfuse in a thread and wait until the mount appears in `/dev/mounts`, but it actually works now * unmounting AppImages added for aisap-zig * Added `aisap_appimage_mount_dir` to C bindings * test.c file is no longer incredibly cluttered
- Loading branch information
Showing
13 changed files
with
202 additions
and
350 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
.{ | ||
.name = "aisap", | ||
.version = "0.9.2", | ||
.version = "0.9.3", | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,42 +1,12 @@ | ||
#!/bin/sh | ||
# In order to build the test C program, | ||
# `../resources/build_libaisap.sh` must first be run. Then, run this script, | ||
# which will generate the `test` executable, which prints debug information | ||
# about an AppImage | ||
|
||
zig cc -static \ | ||
-o test test.c \ | ||
../libaisap-x86_64.a \ | ||
-lfuse3 \ | ||
-I../include \ | ||
# -I ../ \ | ||
# -I squashfuse-zig/zstd/lib \ | ||
# -DENABLE_ZLIB \ | ||
# -DUSE_LIBDEFLATE \ | ||
# -DENABLE_ZSTD | ||
# squashfuse-zig/zstd/lib/decompress/zstd_decompress.c \ | ||
# squashfuse-zig/zstd/lib/decompress/zstd_decompress_block.c \ | ||
# squashfuse-zig/zstd/lib/decompress/zstd_ddict.c \ | ||
# squashfuse-zig/zstd/lib/decompress/huf_decompress.c \ | ||
# squashfuse-zig/zstd/lib/common/zstd_common.c \ | ||
# squashfuse-zig/zstd/lib/common/error_private.c \ | ||
# squashfuse-zig/zstd/lib/common/entropy_common.c \ | ||
# squashfuse-zig/zstd/lib/common/fse_decompress.c \ | ||
# squashfuse-zig/zstd/lib/common/xxhash.c \ | ||
# squashfuse-zig/zstd/lib/decompress/huf_decompress_amd64.S \ | ||
# \ | ||
# squashfuse-zig/libdeflate/lib/adler32.c \ | ||
# squashfuse-zig/libdeflate/lib/crc32.c \ | ||
# squashfuse-zig/libdeflate/lib/deflate_decompress.c \ | ||
# squashfuse-zig/libdeflate/lib/utils.c \ | ||
# squashfuse-zig/libdeflate/lib/zlib_decompress.c \ | ||
# squashfuse-zig/libdeflate/lib/x86/cpu_features.c \ | ||
# \ | ||
# squashfuse-zig/lz4/lib/lz4.c \ | ||
# \ | ||
# squashfuse-zig/squashfuse/fs.c \ | ||
# squashfuse-zig/squashfuse/table.c \ | ||
# squashfuse-zig/squashfuse/xattr.c \ | ||
# squashfuse-zig/squashfuse/cache.c \ | ||
# squashfuse-zig/squashfuse/dir.c \ | ||
# squashfuse-zig/squashfuse/file.c \ | ||
# squashfuse-zig/squashfuse/nonstd-makedev.c \ | ||
# squashfuse-zig/squashfuse/nonstd-pread.c \ | ||
# squashfuse-zig/squashfuse/nonstd-stat.c \ | ||
# squashfuse-zig/squashfuse/stat.c \ | ||
# squashfuse-zig/squashfuse/stack.c \ | ||
# squashfuse-zig/squashfuse/swap.c \ | ||
-I../include | ||
|
||
# -lfuse3 \ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.