summaryrefslogtreecommitdiffstats
path: root/openpgp-ffi/examples/Makefile
diff options
context:
space:
mode:
authorJustus Winter <justus@sequoia-pgp.org>2019-01-22 17:54:48 +0100
committerJustus Winter <justus@sequoia-pgp.org>2019-01-25 14:04:26 +0100
commit118a86b0302b4bb35b1f1bbef50b2a042f239384 (patch)
treeb447470674dc3aea5bf6c6d32a17ca62d438e125 /openpgp-ffi/examples/Makefile
parent64a7fa27f669b0dd31319a5ebee6ffd0de410336 (diff)
ffi-macros: Check wrapper types at runtime.
- This change adds a tag to the derived wrapper types that identify the type of the wrapped value. - At runtime, we can verify that references to wrapper objects indeed carry the right tag. - Fixes #166.
Diffstat (limited to 'openpgp-ffi/examples/Makefile')
-rw-r--r--openpgp-ffi/examples/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/openpgp-ffi/examples/Makefile b/openpgp-ffi/examples/Makefile
index 29408634..d935ea52 100644
--- a/openpgp-ffi/examples/Makefile
+++ b/openpgp-ffi/examples/Makefile
@@ -5,7 +5,7 @@ CARGO_TARGET_DIR ?= $(shell pwd)/../../target
# We currently only support absolute paths.
CARGO_TARGET_DIR := $(abspath $(CARGO_TARGET_DIR))
-TARGETS = example reader parser encrypt-for armor
+TARGETS = example reader parser encrypt-for armor type-safety-demo
CFLAGS = -I../include -O0 -g -Wall -Werror
LDFLAGS = -L$(CARGO_TARGET_DIR)/debug -lsequoia_openpgp_ffi