Skip to content

Add more rust-src deps #2166

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 12, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions tools/scripts/ffi.toml
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ exec --fail-on-error make
description = "Run C API tests for tiny targets"
category = "ICU4X Development"
dependencies = [ "diplomat-gen-c" ]
install_crate = { rustup_component_name = "rust-src" }
script_runner = "@duckscript"
script = '''
exit_on_error true
Expand Down Expand Up @@ -146,6 +147,7 @@ exec --fail-on-error diplomat-tool cpp ./cpp/include --docs ./cpp/docs/source --
description = "Build ICU4X CAPI for Cortex"
category = "ICU4X FFI"
toolchain = "nightly-2022-04-05"
install_crate = { rustup_component_name = "rust-src" }
env = { "RUSTFLAGS" = "-Ctarget-cpu=cortex-m33 -Cpanic=abort" }
command = "cargo"
args = ["build", "--package", "icu_freertos",
Expand All @@ -158,6 +160,7 @@ args = ["build", "--package", "icu_freertos",
description = "Ensure ICU4X core builds on no-std"
category = "ICU4X FFI"
toolchain = "nightly-2022-04-05"
install_crate = { rustup_component_name = "rust-src" }
command = "cargo"
args = ["build", "--package", "icu", "--target", "thumbv7m-none-eabi"]

Expand Down