feat: rm unused code

This commit is contained in:
2021-01-24 23:17:03 +08:00
parent c6e36fb414
commit 980d52ad07
2 changed files with 3 additions and 6 deletions

2
__ffi/rust_link_a/.gitignore vendored Normal file
View File

@@ -0,0 +1,2 @@
hello.o
libhello.a

View File

@@ -2,10 +2,5 @@
#include "hello.h"
void print_line(const char* str) {
for (int i = 0; str[i] != 0; i++) {
char c = str[i];
printf("PUT:%d - %c\n", c, c);
}
// str++;
printf("puts:%s\n", str);
printf("%s\n", str);
}