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 dad6a27 commit fb7d18dCopy full SHA for fb7d18d
index.js
@@ -68,7 +68,13 @@ class RustPlugin {
68
`${cargoDownloads}:/root/.cargo/git`
69
];
70
const customArgs = [];
71
+
72
let cargoFlags = (funcArgs || {}).cargoFlags || this.custom.cargoFlags;
73
+ let profile = (funcArgs || {}).profile || this.custom.profile;
74
+ if (profile) {
75
+ // release or dev
76
+ customArgs.push("-e", `PROFILE=${profile}`);
77
+ }
78
if (cargoPackage != undefined) {
79
if (cargoFlags) {
80
cargoFlags = `${cargoFlags} -p ${cargoPackage}`;
0 commit comments