Skip to content

Commit d24273e

Browse files
author
Martin Larralde
committed
Fix wrong path being written in .config/cargo by tomlgen_rust
1 parent f97a4f9 commit d24273e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

setuptools_rust/tomlgen.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ def run(self):
118118

119119
config.write("[build]\n")
120120
config.write(
121-
'target-dir = "{}"\n'.format(os.path.relpath(targetdir, cfgdir))
121+
'target-dir = "{}"\n'.format(os.path.relpath(targetdir))
122122
)
123123

124124
else:

0 commit comments

Comments
 (0)