File tree 2 files changed +33
-0
lines changed
2 files changed +33
-0
lines changed Original file line number Diff line number Diff line change 88
88
sudo mount debian-m68k.img vm
89
89
sudo cp $(which qemu-m68k-static) vm/usr/bin/
90
90
91
+ - name : Build sample project with target defined as JSON spec
92
+ run : |
93
+ ./y.sh prepare --only-libcore --cross
94
+ ./y.sh build --target-triple m68k-unknown-linux-gnu --target ${{ github.workspace }}/target_specs/m68k-unknown-linux-gnu.json
95
+ ./y.sh cargo build --manifest-path=./tests/hello-world/Cargo.toml --target ${{ github.workspace }}/target_specs/m68k-unknown-linux-gnu.json
96
+ ./y.sh clean all
97
+
91
98
- name : Build
92
99
run : |
93
100
./y.sh prepare --only-libcore --cross
Original file line number Diff line number Diff line change
1
+ {
2
+ "arch" : " m68k" ,
3
+ "cpu" : " M68020" ,
4
+ "crt-static-respected" : true ,
5
+ "data-layout" : " E-m:e-p:32:16:32-i8:8:8-i16:16:16-i32:16:32-n8:16:32-a:0:16-S16" ,
6
+ "dynamic-linking" : true ,
7
+ "env" : " gnu" ,
8
+ "has-rpath" : true ,
9
+ "has-thread-local" : true ,
10
+ "llvm-target" : " m68k-unknown-linux-gnu" ,
11
+ "max-atomic-width" : 32 ,
12
+ "os" : " linux" ,
13
+ "position-independent-executables" : true ,
14
+ "relro-level" : " full" ,
15
+ "supported-split-debuginfo" : [
16
+ " packed" ,
17
+ " unpacked" ,
18
+ " off"
19
+ ],
20
+ "target-endian" : " big" ,
21
+ "target-family" : [
22
+ " unix"
23
+ ],
24
+ "target-mcount" : " _mcount" ,
25
+ "target-pointer-width" : " 32"
26
+ }
You can’t perform that action at this time.
0 commit comments