mirror of
https://github.com/compiler-explorer/compiler-explorer.git
synced 2025-12-27 10:33:59 -05:00
Remove ICompiler, other minor type fixes (#7079)
This commit is contained in:
@@ -22,20 +22,11 @@
|
||||
// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
||||
// POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
import {
|
||||
ActiveTool,
|
||||
BypassCache,
|
||||
CompilationResult,
|
||||
ExecutionParams,
|
||||
FiledataPair,
|
||||
} from './compilation/compilation.interfaces.js';
|
||||
import {AllCompilerOverrideOptions} from './compilation/compiler-overrides.interfaces.js';
|
||||
import {ICompilerArguments} from './compiler-arguments.interfaces.js';
|
||||
import {PossibleRuntimeTools} from './execution/execution.interfaces.js';
|
||||
import {ParseFiltersAndOutputOptions} from './features/filters.interfaces.js';
|
||||
import {InstructionSet} from './instructionsets.js';
|
||||
import {Language, LanguageKey} from './languages.interfaces.js';
|
||||
import {Library, SelectedLibraryVersion} from './libraries/libraries.interfaces.js';
|
||||
import {LanguageKey} from './languages.interfaces.js';
|
||||
import {Library} from './libraries/libraries.interfaces.js';
|
||||
import {Tool, ToolInfo} from './tool.interfaces.js';
|
||||
|
||||
export type Remote = {
|
||||
@@ -167,22 +158,3 @@ export type CompilerInfo = {
|
||||
export type PreliminaryCompilerInfo = Omit<CompilerInfo, 'version' | 'fullVersion' | 'baseName' | 'disabledFilters'> & {
|
||||
version?: string;
|
||||
};
|
||||
|
||||
export interface ICompiler {
|
||||
possibleArguments: ICompilerArguments;
|
||||
lang: Language;
|
||||
compile(
|
||||
source: string,
|
||||
options: string[],
|
||||
backendOptions: Record<string, any>,
|
||||
filters: ParseFiltersAndOutputOptions,
|
||||
bypassCache: BypassCache,
|
||||
tools: ActiveTool[],
|
||||
executeParameters: ExecutionParams,
|
||||
libraries: SelectedLibraryVersion[],
|
||||
files: FiledataPair[],
|
||||
): Promise<any>;
|
||||
cmake(files: FiledataPair[], key, bypassCache: BypassCache): Promise<CompilationResult>;
|
||||
initialise(mtime: Date, clientOptions, isPrediscovered: boolean): Promise<ICompiler | null>;
|
||||
getInfo(): CompilerInfo;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user