From 5fcaa3065efeaec139cd5c070bf53d978296e151 Mon Sep 17 00:00:00 2001 From: thealmarty <“thealmartyblog@gmail.com”> Date: Tue, 24 Dec 2024 10:09:00 -0800 Subject: [PATCH 1/2] Remove unneeded deps. --- Cargo.toml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index a9713d4..df582a7 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,4 @@ [package] name = "fibonacci" version = "0.1.0" -edition = "2021" - -[dependencies] -valida-rs = { git = "https://github.com/lita-xyz/valida-rs.git", branch = "no-deps" } \ No newline at end of file +edition = "2021" \ No newline at end of file From 49262a93dabb6eda287007e482a95e020def0460 Mon Sep 17 00:00:00 2001 From: thealmarty <“thealmartyblog@gmail.com”> Date: Tue, 24 Dec 2024 10:09:19 -0800 Subject: [PATCH 2/2] Fix build. --- .cargo/config.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.cargo/config.toml b/.cargo/config.toml index a1c1199..d2eb949 100644 --- a/.cargo/config.toml +++ b/.cargo/config.toml @@ -5,10 +5,10 @@ target = "valida-unknown-baremetal-gnu" linker = "/valida-toolchain/bin/ld.lld" rustflags = [ "-C", "link-arg=/valida-toolchain/ValidaEntryPoint.o", + "-C", "link-arg=/valida-toolchain/io.o", "-C", "link-arg=--script=/valida-toolchain/valida.ld", "-C", "link-arg=/valida-toolchain/lib/valida-unknown-baremetal-gnu/libc.a", "-C", "link-arg=/valida-toolchain/lib/valida-unknown-baremetal-gnu/libm.a", - "-C", "link-arg=--noinhibit-exec", ] [env]