We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 65a6733 commit 97509ebCopy full SHA for 97509eb
exts/rust-code-runner/__init__.py
@@ -5,6 +5,10 @@
5
def setup(app):
6
7
app.output_rust_file = "build/rust-code-blocks/generated.rs"
8
+
9
+ # create build dir
10
+ if not os.path.exists("build/rust-code-blocks"):
11
+ os.makedirs("build/rust-code-blocks")
12
if os.path.isfile(app.output_rust_file):
13
with open(app.output_rust_file, 'w'):
14
pass
0 commit comments