mirror of
https://github.com/AmbiML/sparrow-kata-full.git
synced 2025-07-14 06:24:14 +00:00
rust.cmake: add comment pointing to CAmkES setting of --tls-model
Change-Id: I5b2674ef86b9a5c35f441666a9d3ec55cd591f7e GitOrigin-RevId: 32312f93e053ea0579cb6d98e9fc991ba325ddb2
This commit is contained in:
parent
c8e27dab0a
commit
f33b5b4a9e
@ -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")
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user