File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 1
1
http
2
- * .bc
2
+ * .c
3
3
* .ll
4
4
* .h
5
5
* .o
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ CC ?= clang
3
3
all : http
4
4
5
5
http : main.c http_parser.bc
6
- $(CC ) -g3 -flto -Os -fvisibility=hidden -Wall -I. http_parser.bc main.c -o $@
6
+ $(CC ) -g3 -flto -Os -fvisibility=hidden -Wall -I. http_parser.c main.c -o $@
7
7
8
8
http_parser.bc : index.ts
9
9
npx ts-node $<
Original file line number Diff line number Diff line change @@ -48,4 +48,4 @@ const path = require('path');
48
48
49
49
const artifacts = p . build ( method ) ;
50
50
fs . writeFileSync ( path . join ( __dirname , 'http_parser.h' ) , artifacts . header ) ;
51
- fs . writeFileSync ( path . join ( __dirname , 'http_parser.bc ' ) , artifacts . bitcode ) ;
51
+ fs . writeFileSync ( path . join ( __dirname , 'http_parser.c ' ) , artifacts . c ) ;
You can’t perform that action at this time.
0 commit comments