aboutsummaryrefslogtreecommitdiff
path: root/lib/compilers/rust.ts
diff options
context:
space:
mode:
authorJeremy Rifkin <51220084+jeremy-rifkin@users.noreply.github.com>2022-11-26 13:56:04 -0500
committerGitHub <noreply@github.com>2022-11-26 13:56:04 -0500
commite13fe4a2f9a100618072855cd87dda9cf32b6524 (patch)
tree06bfc971029439d3e41e038c347ef704a6c64717 /lib/compilers/rust.ts
parenta208c2fe2ed754a07beddc905cde433a2b7bf9f4 (diff)
downloadcompiler-explorer-e13fe4a2f9a100618072855cd87dda9cf32b6524.tar.gz
compiler-explorer-e13fe4a2f9a100618072855cd87dda9cf32b6524.zip
Mg/props ts (#4340)gh-5089
* WIP * Type changes to the property getter * Finish getting types working for properties.ts * Reduce type casts in exec.ts * Format files * Remove old comment Co-authored-by: Matt Godbolt <matt@godbolt.org>
Diffstat (limited to 'lib/compilers/rust.ts')
-rw-r--r--lib/compilers/rust.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/compilers/rust.ts b/lib/compilers/rust.ts
index bde2109c0..28345e335 100644
--- a/lib/compilers/rust.ts
+++ b/lib/compilers/rust.ts
@@ -58,7 +58,7 @@ export class RustCompiler extends BaseCompiler {
this.compiler.llvmOptArg = ['-C', 'llvm-args=-print-after-all -print-before-all'];
this.compiler.llvmOptModuleScopeArg = ['-C', 'llvm-args=-print-module-scope'];
this.compiler.llvmOptNoDiscardValueNamesArg = isNightly ? ['-Z', 'fewer-names=no'] : [];
- this.linker = this.compilerProps('linker');
+ this.linker = this.compilerProps<string>('linker');
}
override getSharedLibraryPathsAsArguments(libraries, libDownloadPath) {