Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions components/rust/examples/modules/SConscript
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import os
import sys
import subprocess
import toml
from building import *

cwd = GetCurrentDir()
Expand Down Expand Up @@ -77,7 +76,9 @@ def build_rust_module(module_dir, build_root):
cargo_toml_path = os.path.join(module_dir, 'Cargo.toml')
if not os.path.exists(cargo_toml_path):
return [], [], ""


import toml

with open(cargo_toml_path, 'r') as f:
cargo_config = toml.load(f)

Expand Down
Loading