Skip to content

Instantly share code, notes, and snippets.

@alexozer
Last active April 8, 2024 15:24
Show Gist options
  • Save alexozer/2ab855dc7f37e43c1236eea60ec3fb5c to your computer and use it in GitHub Desktop.
Save alexozer/2ab855dc7f37e43c1236eea60ec3fb5c to your computer and use it in GitHub Desktop.
Roc basic-cli link error
❯ nix develop
path '/Users/alex/Documents/repos/2024/basic-cli/platform' does not contain a 'flake.nix', searching up
airfoil:platform alex$ cargo build
Compiling host v0.0.1 (/Users/alex/Documents/repos/2024/basic-cli/platform)
warning: type `discriminant_CommandErr` should have an upper camel case name
--> src/command_glue.rs:26:10
|
26 | pub enum discriminant_CommandErr {
| ^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `DiscriminantCommandErr`
|
= note: `#[warn(non_camel_case_types)]` on by default
warning: type `discriminant_IOError` should have an upper camel case name
--> src/dir_glue.rs:3:10
|
3 | pub enum discriminant_IOError {
| ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `DiscriminantIoerror`
warning: variable does not need to be mutable
--> src/command_glue.rs:166:28
|
166 | pub fn unwrap_ExitCode(mut self) -> i32 {
| ----^^^^
| |
| help: remove this `mut`
|
= note: `#[warn(unused_mut)]` on by default
warning: function `size_Fx_result` is never used
--> src/lib.rs:41:8
|
41 | fn size_Fx_result() -> i64;
| ^^^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` on by default
warning: method `set_discriminant` is never used
--> src/command_glue.rs:66:8
|
55 | impl CommandErr {
| --------------- method in this implementation
...
66 | fn set_discriminant(&mut self, discriminant: discriminant_CommandErr) {
| ^^^^^^^^^^^^^^^^
warning: method `set_discriminant` is never used
--> src/dir_glue.rs:158:8
|
147 | impl IOError {
| ------------ method in this implementation
...
158 | fn set_discriminant(&mut self, discriminant: discriminant_IOError) {
| ^^^^^^^^^^^^^^^^
warning: `extern` block uses type `()`, which is not FFI-safe
--> src/lib.rs:34:67
|
34 | fn call_Fx(flags: *const u8, closure_data: *const u8, output: *mut RocResult<(), i32>);
| ^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe
|
= help: consider using a struct instead
= note: tuples have unspecified layout
= note: `#[warn(improper_ctypes)]` on by default
warning: calls to `std::mem::forget` with a reference instead of an owned value does nothing
--> src/lib.rs:265:5
|
265 | std::mem::forget(std::hint::black_box(funcs));
| ^^^^^^^^^^^^^^^^^---------------------------^
| |
| argument has type `&[*const extern "C" fn()]`
|
= note: use `let _ = ...` to ignore the expression or result
= note: `#[warn(forgetting_references)]` on by default
warning: calls to `std::mem::forget` with a reference instead of an owned value does nothing
--> src/lib.rs:269:9
|
269 | std::mem::forget(std::hint::black_box(unix_funcs));
| ^^^^^^^^^^^^^^^^^--------------------------------^
| |
| argument has type `&[*const extern "C" fn()]`
|
= note: use `let _ = ...` to ignore the expression or result
warning: constant `_SIZE_CHECK_union_CommandErr` should have an upper case name
--> src/command_glue.rs:49:7
|
49 | const _SIZE_CHECK_union_CommandErr: () = assert!(core::mem::size_of::<union_CommandErr>() == 24);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `_SIZE_CHECK_UNION_COMMAND_ERR`
|
= note: `#[warn(non_upper_case_globals)]` on by default
warning: constant `_ALIGN_CHECK_union_CommandErr` should have an upper case name
--> src/command_glue.rs:50:7
|
50 | const _ALIGN_CHECK_union_CommandErr: () = assert!(core::mem::align_of::<union_CommandErr>() == 8);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `_ALIGN_CHECK_UNION_COMMAND_ERR`
warning: constant `_SIZE_CHECK_CommandErr` should have an upper case name
--> src/command_glue.rs:52:7
|
52 | const _SIZE_CHECK_CommandErr: () = assert!(core::mem::size_of::<CommandErr>() == 32);
| ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `_SIZE_CHECK_COMMAND_ERR`
warning: constant `_ALIGN_CHECK_CommandErr` should have an upper case name
--> src/command_glue.rs:53:7
|
53 | const _ALIGN_CHECK_CommandErr: () = assert!(core::mem::align_of::<CommandErr>() == 8);
| ^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `_ALIGN_CHECK_COMMAND_ERR`
warning: constant `_ALIGN_CHECK_union_IOError` should have an upper case name
--> src/dir_glue.rs:142:7
|
142 | const _ALIGN_CHECK_union_IOError: () = assert!(core::mem::align_of::<union_IOError>() == 1);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `_ALIGN_CHECK_UNION_IOERROR`
warning: constant `_SIZE_CHECK_IOError` should have an upper case name
--> src/dir_glue.rs:144:7
|
144 | const _SIZE_CHECK_IOError: () = assert!(core::mem::size_of::<IOError>() == 1);
| ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `_SIZE_CHECK_IOERROR`
warning: constant `_ALIGN_CHECK_IOError` should have an upper case name
--> src/dir_glue.rs:145:7
|
145 | const _ALIGN_CHECK_IOError: () = assert!(core::mem::align_of::<IOError>() == 1);
| ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `_ALIGN_CHECK_IOERROR`
warning: `host` (lib) generated 16 warnings (run `cargo fix --lib -p host` to apply 1 suggestion)
error: linking with `cc` failed: exit status: 1
|
= note: LC_ALL="C" PATH="/nix/store/r1klnigzi5rwib155amjdanvgw5n3q1y-rust-default-1.71.1/lib/rustlib/aarch64-apple-darwin/bin:/nix/store/vwh2qqal1q101wv4jy40giavp73q0msd-clang-wrapper-16.0.6/bin:/nix/store/3vzbr8yb4c233lhi1qz78b8kaaxrjqcj-clang-16.0.6/bin:/nix/store/pzajj7gw0nazs3vzp6jld53q8ird5izr-coreutils-9.4/bin:/nix/store/0i7w6qsij8akg6h39qn67w9ig5hirv1a-cctools-binutils-darwin-wrapper-16.0.6-973.0.1/bin:/nix/store/i4sfjfz08vmnrj84asl2j5imakga12za-cctools-binutils-darwin-16.0.6-973.0.1/bin:/nix/store/38hrq70jzqsq81v7gim7j3q45955186l-jq-1.7-bin/bin:/nix/store/r1klnigzi5rwib155amjdanvgw5n3q1y-rust-default-1.71.1/bin:/nix/store/bpw04b34xhb8ck8msvl9l9z7wk53srfl-clang-wrapper-16.0.6/bin:/nix/store/3jlwvi5syd2aa15x6cjlnkax39sv1fv8-clang-16.0.6/bin:/nix/store/162k66j3dwx4k63hfdgd57rbmkxmplhk-cctools-binutils-darwin-wrapper-16.0.6-973.0.1/bin:/nix/store/isdbhzb6jr79625rnbwbn508fsh8k61n-lldb-16.0.6/bin:/nix/store/fin73nh9lprj1hmq5ky3q1s4231a63h2-tcl-8.6.13/bin:/nix/store/lppbs69aifzsd0vb355d3izd9dbnn0sy-expect-5.45.4/bin:/nix/store/93wd0wcm7mykbaw5rmrnhxj1gqiy061h-nmap-7.94/bin:/nix/store/4d8hr856wgwill36ryd0gf7dkrp4glpd-simple-http-server-0.6.7/bin:/nix/store/5ki7nlmbbfq0bmmjz23ifjsx9a224gdi-roc_cli-0.0.1/bin:/nix/store/a78xnmg223s3iffja69ydg6sswbwd3i3-libiconv-50/bin:/nix/store/pzajj7gw0nazs3vzp6jld53q8ird5izr-coreutils-9.4/bin:/nix/store/6x5inimwy8rlvf678yy080zccbw71alb-findutils-4.9.0/bin:/nix/store/01bzxsyn8dqz9fsdhp9r6ya796g5ydmf-diffutils-3.10/bin:/nix/store/9z9k8dwhhiryr7z2pz70zca0vwa15yqc-gnused-4.9/bin:/nix/store/zsm4xd527427rnjfnvfhvsld2n57b822-gnugrep-3.11/bin:/nix/store/hhc2x65zvp89lh15grqk21r6dcvifggy-gawk-5.2.2/bin:/nix/store/gclclfhq9blxp32lv8kxm9iv5060rx5f-gnutar-1.35/bin:/nix/store/crpi4clk07gy760ydbb710f74dy8q6c9-gzip-1.13/bin:/nix/store/qay0pa86lb712162d6m5lyw62iczb71d-bzip2-1.0.8-bin/bin:/nix/store/zc9qsb0rzlw0ckhy7097frcwb4pkfx3d-gnumake-4.4.1/bin:/nix/store/6nxav88iiz0g8m598xy643f8hhdz5kkx-bash-5.2-p21/bin:/nix/store/kizmwlnj40d11ixbap74c0syaqxn05wc-patch-2.7.6/bin:/nix/store/xcy0fr1dangwh9r9isay6fqbg91g5b3h-xz-5.4.5-bin/bin:/nix/store/x1bzwj6pz7f3ajg5y36x07b1328jzx7r-file-5.45/bin:/Users/alex/.volta/bin:/Users/alex/.nix-profile/bin:/nix/var/nix/profiles/default/bin:/home/alex/.local/share/pnpm:/Users/alex/.nix-profile/bin:/nix/var/nix/profiles/default/bin:/home/alex/.local/share/pnpm:/opt/local/bin:/opt/local/sbin:/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/Library/Apple/usr/bin:/home/alex/.local/share/pnpm:/opt/local/bin:/opt/local/sbin:/opt/homebrew/bin:/opt/homebrew/sbin:/Users/alex/.cargo/bin:/Applications/kitty.app/Contents/MacOS:/Users/alex/.local/bin:/opt/homebrew/opt/fzf/bin:/Users/alex/build/roc/target/release:/Users/alex/.local/bin:/Users/alex/build/roc/target/release:/Users/alex/.local/bin:/Users/alex/build/roc/target/release" VSLANG="1033" ZERO_AR_DATE="1" "cc" "-arch" "arm64" "/tmp/nix-shell.GUdiVg/rustcIS0OcU/symbols.o" "/Users/alex/Documents/repos/2024/basic-cli/platform/target/debug/deps/host-e650e3de327064bd.1t7sb1maq6q16kz4.rcgu.o" "/Users/alex/Documents/repos/2024/basic-cli/platform/target/debug/deps/host-e650e3de327064bd.3h7tnv1u7g1vndci.rcgu.o" "/Users/alex/Documents/repos/2024/basic-cli/platform/target/debug/deps/host-e650e3de327064bd.3ue2yh3f718dznod.rcgu.o" "/Users/alex/Documents/repos/2024/basic-cli/platform/target/debug/deps/host-e650e3de327064bd.4c9qesohuiyj0vsr.rcgu.o" "/Users/alex/Documents/repos/2024/basic-cli/platform/target/debug/deps/host-e650e3de327064bd.4mkc79wd0ffxeuia.rcgu.o" "/Users/alex/Documents/repos/2024/basic-cli/platform/target/debug/deps/host-e650e3de327064bd.4z0a97cdoni8324f.rcgu.o" "/Users/alex/Documents/repos/2024/basic-cli/platform/target/debug/deps/host-e650e3de327064bd.9m397wdz7va0cm5.rcgu.o" "-L" "/Users/alex/Documents/repos/2024/basic-cli/platform/target/debug/deps" "-L" "." "-L" "/Users/alex/Documents/repos/2024/basic-cli/platform/target/debug/build/ring-c118b95ab78241a6/out" "-L" "/nix/store/r1klnigzi5rwib155amjdanvgw5n3q1y-rust-default-1.71.1/lib/rustlib/aarch64-apple-darwin/lib" "/Users/alex/Documents/repos/2024/basic-cli/platform/target/debug/deps/libhost-96c7b2d7f8fc8736.rlib" "/Users/alex/Documents/repos/2024/basic-cli/platform/target/debug/deps/libroc_app-5260b260db8966be.rlib" "/Users/alex/Documents/repos/2024/basic-cli/platform/target/debug/deps/libbacktrace-c87542e90d60f6d3.rlib" "/Users/alex/Documents/repos/2024/basic-cli/platform/target/debug/deps/libobject-3143fe3619729450.rlib" "/Users/alex/Documents/repos/2024/basic-cli/platform/target/debug/deps/libmemchr-d89f2de748b1bed0.rlib" "/Users/alex/Documents/repos/2024/basic-cli/platform/target/debug/deps/libaddr2line-0c4c4a1ce267a831.rlib" "/Users/alex/Documents/repos/2024/basic-cli/platform/target/debug/deps/libgimli-0b89ad362007a2b9.rlib" "/Users/alex/Documents/repos/2024/basic-cli/platform/target/debug/deps/librustc_demangle-7aaf93e6cc091c07.rlib" "/Users/alex/Documents/repos/2024/basic-cli/platform/target/debug/deps/libcrossterm-216e3ce943290d52.rlib" "/Users/alex/Documents/repos/2024/basic-cli/platform/target/debug/deps/libbitflags-a8614bbf7127f62f.rlib" "/Users/alex/Documents/repos/2024/basic-cli/platform/target/debug/deps/libparking_lot-aa6ba3fd0ff9451a.rlib" "/Users/alex/Documents/repos/2024/basic-cli/platform/target/debug/deps/libparking_lot_core-123b52fca0b51250.rlib" "/Users/alex/Documents/repos/2024/basic-cli/platform/target/debug/deps/libsmallvec-7023d6e258d0ea80.rlib" "/Users/alex/Documents/repos/2024/basic-cli/platform/target/debug/deps/liblock_api-f22987a256c7184f.rlib" "/Users/alex/Documents/repos/2024/basic-cli/platform/target/debug/deps/libscopeguard-d2a52f81b8b0522a.rlib" "/Users/alex/Documents/repos/2024/basic-cli/platform/target/debug/deps/libsignal_hook_mio-c4bcf4bb5e9f2568.rlib" "/Users/alex/Documents/repos/2024/basic-cli/platform/target/debug/deps/libsignal_hook-651df50438e38c22.rlib" "/Users/alex/Documents/repos/2024/basic-cli/platform/target/debug/deps/libsignal_hook_registry-67e8a5369909ecb2.rlib" "/Users/alex/Documents/repos/2024/basic-cli/platform/target/debug/deps/libhyper_rustls-e27e8073affb2538.rlib" "/Users/alex/Documents/repos/2024/basic-cli/platform/target/debug/deps/librustls_native_certs-1cc4ad5e2b6b1347.rlib" "/Users/alex/Documents/repos/2024/basic-cli/platform/target/debug/deps/librustls_pemfile-b264be87b5b3aaff.rlib" "/Users/alex/Documents/repos/2024/basic-cli/platform/target/debug/deps/libbase64-7dc6783186784a55.rlib" "/Users/alex/Documents/repos/2024/basic-cli/platform/target/debug/deps/libsecurity_framework-1e370a8f7a51b6c5.rlib" "/Users/alex/Documents/repos/2024/basic-cli/platform/target/debug/deps/libbitflags-c5bc81ed08279d68.rlib" "/Users/alex/Documents/repos/2024/basic-cli/platform/target/debug/deps/libsecurity_framework_sys-3b52843f4c62e283.rlib" "/Users/alex/Documents/repos/2024/basic-cli/platform/target/debug/deps/libcore_foundation-2feabc4523b1e780.rlib" "/Users/alex/Documents/repos/2024/basic-cli/platform/target/debug/deps/libcore_foundation_sys-cea8ed0f3a21b8dc.rlib" "/Users/alex/Documents/repos/2024/basic-cli/platform/target/debug/deps/libtokio_rustls-c66e721f48102ae4.rlib" "/Users/alex/Documents/repos/2024/basic-cli/platform/target/debug/deps/librustls-3f67de2d92f61e02.rlib" "/Users/alex/Documents/repos/2024/basic-cli/platform/target/debug/deps/libsct-c00541611761dda6.rlib" "/Users/alex/Documents/repos/2024/basic-cli/platform/target/debug/deps/libwebpki-4f3be4d8da8346b7.rlib" "/Users/alex/Documents/repos/2024/basic-cli/platform/target/debug/deps/libring-085e3bfac352c939.rlib" "/Users/alex/Documents/repos/2024/basic-cli/platform/target/debug/deps/libgetrandom-ce736b9ff34a07b1.rlib" "/Users/alex/Documents/repos/2024/basic-cli/platform/target/debug/deps/libspin-14fa686006a1298d.rlib" "/Users/alex/Documents/repos/2024/basic-cli/platform/target/debug/deps/libuntrusted-cc5e2e4cc7f529b7.rlib" "/Users/alex/Documents/repos/2024/basic-cli/platform/target/debug/deps/libcfg_if-0fd9faf9ccad1953.rlib" "/Users/alex/Documents/repos/2024/basic-cli/platform/target/debug/deps/libhyper-5b19a20d02f21317.rlib" "/Users/alex/Documents/repos/2024/basic-cli/platform/target/debug/deps/libwant-2c764f19ca46c3c3.rlib" "/Users/alex/Documents/repos/2024/basic-cli/platform/target/debug/deps/libtry_lock-fd1adf4ab7d910c5.rlib" "/Users/alex/Documents/repos/2024/basic-cli/platform/target/debug/deps/libsocket2-afd9cecb5c282ace.rlib" "/Users/alex/Documents/repos/2024/basic-cli/platform/target/debug/deps/libhttparse-7618ce7a5766dade.rlib" "/Users/alex/Documents/repos/2024/basic-cli/platform/target/debug/deps/libtower_service-494a96876d14307c.rlib" "/Users/alex/Documents/repos/2024/basic-cli/platform/target/debug/deps/libtracing-826443f08b3bdc9e.rlib" "/Users/alex/Documents/repos/2024/basic-cli/platform/target/debug/deps/libtracing_core-42c6f9d3110a0328.rlib" "/Users/alex/Documents/repos/2024/basic-cli/platform/target/debug/deps/libonce_cell-ee34800e24f23222.rlib" "/Users/alex/Documents/repos/2024/basic-cli/platform/target/debug/deps/libfutures_channel-0234ad11db73d4f2.rlib" "/Users/alex/Documents/repos/2024/basic-cli/platform/target/debug/deps/libhttp_body-164dae7903f12485.rlib" "/Users/alex/Documents/repos/2024/basic-cli/platform/target/debug/deps/libfutures_util-1fc9d2042c60ccbb.rlib" "/Users/alex/Documents/repos/2024/basic-cli/platform/target/debug/deps/libfutures_task-9eda04fbae87233d.rlib" "/Users/alex/Documents/repos/2024/basic-cli/platform/target/debug/deps/libpin_utils-58fe46204869109f.rlib" "/Users/alex/Documents/repos/2024/basic-cli/platform/target/debug/deps/libfutures_core-327548db3187494d.rlib" "/Users/alex/Documents/repos/2024/basic-cli/platform/target/debug/deps/libtokio-8f08daa335e291cf.rlib" "/Users/alex/Documents/repos/2024/basic-cli/platform/target/debug/deps/libsocket2-3cf166c9f8cd1989.rlib" "/Users/alex/Documents/repos/2024/basic-cli/platform/target/debug/deps/libpin_project_lite-f1b7a6d73d31d779.rlib" "/Users/alex/Documents/repos/2024/basic-cli/platform/target/debug/deps/libmio-64dd44592198980a.rlib" "/Users/alex/Documents/repos/2024/basic-cli/platform/target/debug/deps/liblibc-1c0c77bf110e731b.rlib" "/Users/alex/Documents/repos/2024/basic-cli/platform/target/debug/deps/liblog-3e48f9a9969a09fc.rlib" "/Users/alex/Documents/repos/2024/basic-cli/platform/target/debug/deps/libhttp-1c4ad248282d09b8.rlib" "/Users/alex/Documents/repos/2024/basic-cli/platform/target/debug/deps/libitoa-edbae27858f716d0.rlib" "/Users/alex/Documents/repos/2024/basic-cli/platform/target/debug/deps/libbytes-0d8db6a935677c91.rlib" "/Users/alex/Documents/repos/2024/basic-cli/platform/target/debug/deps/libfnv-187f5621d257fc49.rlib" "/Users/alex/Documents/repos/2024/basic-cli/platform/target/debug/deps/libroc_std-867ddb3952ecfdad.rlib" "/Users/alex/Documents/repos/2024/basic-cli/platform/target/debug/deps/libstatic_assertions-0452ed3338bef74a.rlib" "/Users/alex/Documents/repos/2024/basic-cli/platform/target/debug/deps/libarrayvec-fee097f970b691cd.rlib" "/nix/store/svs7yar4cm27jfjg4aysqrkwp4r2cv2r-rust-std-1.71.1-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libstd-7bed9c9534a4783f.rlib" "/nix/store/svs7yar4cm27jfjg4aysqrkwp4r2cv2r-rust-std-1.71.1-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libpanic_unwind-f456041915a03f76.rlib" "/nix/store/svs7yar4cm27jfjg4aysqrkwp4r2cv2r-rust-std-1.71.1-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libobject-75e72c3f3eda5e08.rlib" "/nix/store/svs7yar4cm27jfjg4aysqrkwp4r2cv2r-rust-std-1.71.1-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libmemchr-7ef5de4921915240.rlib" "/nix/store/svs7yar4cm27jfjg4aysqrkwp4r2cv2r-rust-std-1.71.1-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libaddr2line-149c01b62f8a4ec5.rlib" "/nix/store/svs7yar4cm27jfjg4aysqrkwp4r2cv2r-rust-std-1.71.1-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libgimli-aa054eddcbd6d258.rlib" "/nix/store/svs7yar4cm27jfjg4aysqrkwp4r2cv2r-rust-std-1.71.1-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/librustc_demangle-b3ef24dd1ab36f55.rlib" "/nix/store/svs7yar4cm27jfjg4aysqrkwp4r2cv2r-rust-std-1.71.1-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libstd_detect-6170fd3ad3878cfb.rlib" "/nix/store/svs7yar4cm27jfjg4aysqrkwp4r2cv2r-rust-std-1.71.1-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libhashbrown-af8917bc99df4867.rlib" "/nix/store/svs7yar4cm27jfjg4aysqrkwp4r2cv2r-rust-std-1.71.1-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/librustc_std_workspace_alloc-b8c30b83a6ae9cd5.rlib" "/nix/store/svs7yar4cm27jfjg4aysqrkwp4r2cv2r-rust-std-1.71.1-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libminiz_oxide-605f098102fff522.rlib" "/nix/store/svs7yar4cm27jfjg4aysqrkwp4r2cv2r-rust-std-1.71.1-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libadler-54c9ff9352f5dccb.rlib" "/nix/store/svs7yar4cm27jfjg4aysqrkwp4r2cv2r-rust-std-1.71.1-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libunwind-205575322fd87867.rlib" "/nix/store/svs7yar4cm27jfjg4aysqrkwp4r2cv2r-rust-std-1.71.1-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libcfg_if-a3bb5dbcd821cc67.rlib" "/nix/store/svs7yar4cm27jfjg4aysqrkwp4r2cv2r-rust-std-1.71.1-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/liblibc-a58cb74e27442406.rlib" "/nix/store/svs7yar4cm27jfjg4aysqrkwp4r2cv2r-rust-std-1.71.1-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/liballoc-424a32f341952313.rlib" "/nix/store/svs7yar4cm27jfjg4aysqrkwp4r2cv2r-rust-std-1.71.1-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/librustc_std_workspace_core-c04c718cd4c414fe.rlib" "/nix/store/svs7yar4cm27jfjg4aysqrkwp4r2cv2r-rust-std-1.71.1-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libcore-a072ee74c7a13846.rlib" "/nix/store/svs7yar4cm27jfjg4aysqrkwp4r2cv2r-rust-std-1.71.1-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libcompiler_builtins-6dcfe245e3c1f496.rlib" "-lapp" "-framework" "Security" "-framework" "CoreFoundation" "-liconv" "-lSystem" "-lc" "-lm" "-L" "/nix/store/r1klnigzi5rwib155amjdanvgw5n3q1y-rust-default-1.71.1/lib/rustlib/aarch64-apple-darwin/lib" "-o" "/Users/alex/Documents/repos/2024/basic-cli/platform/target/debug/deps/host-e650e3de327064bd" "-Wl,-dead_strip" "-nodefaultlibs"
= note: ld: library not found for -lapp
clang-16: error: linker command failed with exit code 1 (use -v to see invocation)
error: could not compile `host` (bin "host") due to previous error
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment