feat: rm unused code
This commit is contained in:
2
__ffi/rust_link_a/.gitignore
vendored
Normal file
2
__ffi/rust_link_a/.gitignore
vendored
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
hello.o
|
||||||
|
libhello.a
|
||||||
@@ -2,10 +2,5 @@
|
|||||||
#include "hello.h"
|
#include "hello.h"
|
||||||
|
|
||||||
void print_line(const char* str) {
|
void print_line(const char* str) {
|
||||||
for (int i = 0; str[i] != 0; i++) {
|
printf("%s\n", str);
|
||||||
char c = str[i];
|
|
||||||
printf("PUT:%d - %c\n", c, c);
|
|
||||||
}
|
|
||||||
// str++;
|
|
||||||
printf("puts:%s\n", str);
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user