@@ -17,6 +17,7 @@ module(
1717)
1818
1919# Bazel global rules
20+ bazel_dep (name = "rules_python" , version = "1.7.0" )
2021bazel_dep (name = "bazel_skylib" , version = "1.8.2" )
2122bazel_dep (name = "rules_rust" , version = "0.67.0" )
2223bazel_dep (name = "rules_cc" , version = "0.2.14" )
@@ -45,24 +46,12 @@ bazel_dep(name = "custom_qemu", version = "1.0.0", dev_dependency = True)
4546bazel_dep (name = "googletest" , version = "1.17.0" )
4647
4748# Overrides
48- # git_override(
49- # module_name = "score_platform",
50- # commit = "bcab25561cdce7bd4eeebdb20b0ba4e2a4becc12",
51- # remote = "https://github.com/eclipse-score/score.git",
52- # )
53-
5449git_override (
5550 module_name = "score_toolchains_rust" ,
5651 commit = "6651945b4ba8e7c342d9740e9cb2d37842f56261" ,
5752 remote = "https://github.com/eclipse-score/toolchains_rust.git" ,
5853)
5954
60- # git_override(
61- # module_name = "score_toolchains_qnx",
62- # commit = "3477ac13a8015a4e2016588fba573c2f9519237d",
63- # remote = "https://github.com/eclipse-score/toolchains_qnx.git",
64- # )
65-
6655git_override (
6756 module_name = "score_virtualization" ,
6857 commit = "1d9e73212cc291c37a1b7c1427e0f34368ef25e0" ,
@@ -103,6 +92,15 @@ toolchains_qnx.sdp(
10392 url = "https://www.qnx.com/download/download/79858/installation.tgz" ,
10493)
10594
95+ PYTHON_VERSION = "3.12"
96+
97+ python = use_extension ("@rules_python//python/extensions:python.bzl" , "python" , dev_dependency = True )
98+ python .toolchain (
99+ is_default = True ,
100+ python_version = PYTHON_VERSION ,
101+ )
102+ use_repo (python )
103+
106104use_repo (toolchains_qnx , "toolchains_qnx_sdp" )
107105use_repo (toolchains_qnx , "toolchains_qnx_qcc" )
108106use_repo (toolchains_qnx , "toolchains_qnx_ifs" )
@@ -129,7 +127,10 @@ crate.from_cargo(
129127 name = "score_baselibs_rust_crates" ,
130128 cargo_lockfile = "//:Cargo.lock" ,
131129 manifests = [
132- # TODO: expand along with `Cargo.toml`.
130+ "//:Cargo.toml" ,
131+ "//:src/mw/_placeholder/Cargo.toml" ,
132+ "//:examples/mw/_placeholder_example/Cargo.toml" ,
133+ "//:tests/mw/_placeholder/Cargo.toml" ,
133134 ],
134135
135136 # This shall not be here but rules_rust 0.61.0 or even 0.67.0 does not correct finds out that when we use out platform it shall append
0 commit comments