This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use std::alloc::{System, GlobalAlloc, Layout}; | |
use std::sync::atomic::{AtomicUsize, Ordering::Relaxed}; | |
use wasm_bindgen::prelude::*; | |
struct Counter; | |
static ALLOCATED: AtomicUsize = AtomicUsize::new(0); | |
unsafe impl GlobalAlloc for Counter { | |
unsafe fn alloc(&self, layout: Layout) -> *mut u8 { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* tslint:disable */ | |
/* eslint-disable */ | |
/** | |
* @returns {any} | |
*/ | |
export function get_version(): any; | |
export interface FailedBuildOutput { | |
diagnostics: DiagnosticsContainer; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* tslint:disable */ | |
/* eslint-disable */ | |
/** | |
*/ | |
export function main(): void; | |
export interface Oxc { | |
source_text: string; | |
ast: Program; | |
ir: Statement[]; | |
symbols: JsValue; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<link rel="import" href="../topeka-elements/category-images.html"> | |
<link rel="import" href="../core-icon/core-icon.html"> | |
<link rel="import" href="../core-icons/core-icons.html"> | |
<link rel="import" href="../core-icons/av-icons.html"> | |
<link rel="import" href="../paper-fab/paper-fab.html"> | |
<polymer-element name="my-element"> | |
<template> | |
<style> |