From 31adc65dd632b39d005836a82096ba266ebe227b Mon Sep 17 00:00:00 2001 From: Delyan Angelov Date: Tue, 1 Nov 2022 18:16:30 +0200 Subject: [PATCH] examples: mention `-d no_backtrace` in examples/call_v_from_python/README.md --- examples/call_v_from_python/README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/examples/call_v_from_python/README.md b/examples/call_v_from_python/README.md index 8e955c006..054bec121 100644 --- a/examples/call_v_from_python/README.md +++ b/examples/call_v_from_python/README.md @@ -1,5 +1,7 @@ A simple example to show how to call a function written in v from python -Step 1: Compile the v code to a shared library using `v -shared test.v` +Step 1: Compile the v code to a shared library using `v -d no_backtrace -shared test.v` Step 2: Run the python file using `python3 test.py` + +Note: you do not need `-d no_backtrace` if you use gcc or clang . -- 2.30.2