From 87e43ccb9402d83f5a741eb0f1ac44167d8ec113 Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Tue, 25 Sep 2018 16:19:11 -0700 Subject: [PATCH] Mention in the README that we avoid using callstack recursion. Callstack recursion has the property that the maximum stack depth can grow significantly, depending on the input program. Cranelift uses several recursive algorithms, however it uses explicit heap-based stacks to do so. --- cranelift/README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cranelift/README.md b/cranelift/README.md index b008ba7296..facc032d6b 100644 --- a/cranelift/README.md +++ b/cranelift/README.md @@ -35,7 +35,8 @@ of code produced by Cranelift is not yet impressive, though we have plans to fix that. The core codegen crates have minimal dependencies, support no\_std mode -(see below), and do not require any host floating-point support. +(see below), and do not require any host floating-point support, and +do not use callstack recursion. Cranelift does not yet perform mitigations for Spectre or related security issues, though it may do so in the future. It does not