summaryrefslogblamecommitdiffstats
path: root/.cargo/config.toml
blob: e2f8b2d7a3693db8b20e7a24962aed284d6fd8df (plain) (tree)
1
2
3
4



                                                     













                                                                                      






                                                  




                                  

                         
# SPDX-FileCopyrightText: 2025 cel <cel@bunny.garden>
#
# SPDX-License-Identifier: AGPL-3.0-or-later

[build]
rustflags = [
	# LLD (shipped with the Rust toolchain) is used as the default linker
	# "-C", "link-arg=-Tlink.x",

	# if you run into problems with LLD switch to the GNU linker by commenting out
	# this line
	# "-C", "linker=arm-none-eabi-ld",

	# if you need to link to pre-compiled C libraries provided by a C toolchain
	# use GCC as the linker by commenting out both lines above and then
	# uncommenting the three lines below
	"-C",
  "target-feature=+atomics,+bulk-memory,+mutable-globals",
	"-C", "link-arg=--shared-memory",
	"-C", "link-arg=--max-memory=1073741824",
	"-C", "link-arg=--import-memory",
	"-C", "link-arg=--export=__wasm_init_tls",
	"-C", "link-arg=--export=__tls_size",
	"-C", "link-arg=--export=__tls_align",
	"-C", "link-arg=--export=__tls_base",
]

[unstable]
build-std = ["std", "panic_abort"]

[net]
git-fetch-with-cli = true