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.
toml
1 parent f1a947b commit fc8ecfcCopy full SHA for fc8ecfc
crates/cargo-gpu/src/toml.rs
@@ -110,6 +110,12 @@ impl Toml {
110
command: Command::Build(mut build),
111
} = Cli::parse_from(parameters)
112
{
113
+ // Ensure that the output directory is relative to the toml file
114
+ if build.output_dir.is_relative() {
115
+ let dir = path.parent().expect("no path parent");
116
+ build.output_dir = dir.join(build.output_dir);
117
+ }
118
+
119
log::debug!("build: {build:?}");
120
build.run();
121
} else {
0 commit comments