diff options
author | Ludovic Courtès <ludo@gnu.org> | 2020-04-02 14:17:36 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2020-04-02 16:07:08 +0200 |
commit | 3b4d7cdccce97dbffee538812c86bc03a6ae35d9 (patch) | |
tree | 53aaba00ac3da5820a26e12b2b36278a875ebe5a /HACKING | |
parent | 725862ef53687c77ea08aa837436d14747839c41 (diff) |
bournish: Prevent inlining of run-time support procedures.
On Guile 3, those procedures could be inlined, leading to
unbound-variable errors:
scheme@(guile-user)> ,bournish
Welcome to Bournish, a minimal Bourne-like shell!
To switch back, type `,L scheme'.
bournish@(guile-user)> ls
ice-9/boot-9.scm:1669:16: In procedure raise-exception:
Unbound variable: ls-command-implementation
Reported by Ricardo Wurmus.
* guix/build/bournish.scm (define-command-runtime): New macro.
(ls-command-implementation, wc-command-implementation)
(wc-l-command-implementation, wc-c-command-implementation): Use it
instead of 'define'.
Diffstat (limited to 'HACKING')
0 files changed, 0 insertions, 0 deletions