.NET 7 AoT Compilation Steps
Overview
.cs -> csc -> .ilexe -> ilc -> .o -> clang -> native binary
#!/usr/bin/env bash | |
set -o xtrace | |
# Install dependencies | |
mkdir -p deps | |
# .NET 7.0 SDK | |
if [ ! -d deps/dotnet ]; then |
.cs -> csc -> .ilexe -> ilc -> .o -> clang -> native binary
# BUILD | |
FROM mcr.microsoft.com/dotnet/core/sdk:3.0-alpine AS build | |
WORKDIR / | |
COPY App/. ./app/ | |
WORKDIR /app | |
RUN dotnet publish -c Release -r linux-musl-x64 -o out /p:PublishSingleFile=true |
1
2.71828
# ______ ______ __ __ | |
# /\ __ \ /\ ___\ /\ \_\ \ | |
# \ \ __ \\ \___ \\ \ __ \ | |
# \ \_\ \_\\/\_____\\ \_\ \_\ | |
# \/_/\/_/ \/_____/ \/_/\/_/ | |
# ───────────────────────────────────────── | |
# Literal Values | |
# ───────────────────────────────────────── |
{ | |
projects: [ | |
{ | |
name: "Origin Meals", | |
start_date: "2019-01-01", | |
end_date: "2019-10-01", | |
people: [ | |
{ | |
name: "Casey Jacobson", | |
avatar_url: "https://example.com/avatar.jpg", |
post :create do
doc %(Get a summary of an individual Automation workflow’s settings and
content. The `trigger_settings` object returns information for the first email in
the workflow.
You can use Markdown in these doc strings.
* Foo
* Bar
Tuning: eBGDAE | |
capo 2nd fret. (all chords relative to capo) | |
Intro (played around an open A chord) | |
e|--------------------------| | |
B|--0-----------0-----------| | |
G|--------2-----------2-----| | |
D|-----2--2--------2--2-----| |
// require 'rubyserial' | |
// s = Serial.new('/dev/cu.wchusbserial1410') | |
// s.write('0') | |
#include <Adafruit_NeoPixel.h> | |
Adafruit_NeoPixel pixels = Adafruit_NeoPixel(60, 3, NEO_GRB + NEO_KHZ800); | |
void setup() { | |
Serial.begin(9600); |