Skip to content

Commit

Permalink
rust.cmake: add comment pointing to CAmkES setting of --tls-model
Browse files Browse the repository at this point in the history
Change-Id: I5b2674ef86b9a5c35f441666a9d3ec55cd591f7e
GitOrigin-RevId: 32312f93e053ea0579cb6d98e9fc991ba325ddb2
  • Loading branch information
sleffler committed Aug 10, 2022
1 parent 45cdfa6 commit 40084c2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion apps/system/rust.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
cmake_minimum_required(VERSION 3.8.2)
include_guard(GLOBAL)

# Force TLS-model to be compatible with CAmkES usage.
# Force TLS-model to be compatible with CAmkES usage (see
# tools/seL4/camkes-tool/helpers/environment_flags.cmake).
# NB: we cannot use CARGO_OPTIONS, cargo will strip it out
set(RUSTFLAGS "-Z tls-model=local-exec" CACHE INTERNAL "rustc env flags")

Expand Down

0 comments on commit 40084c2

Please sign in to comment.