anyway would it actually be illegal? is it illegal to bring a small amount of weed into a country where weed is legal?
Yes, it absolutely is, the law states that explicitly. The border crossings (at least the one I went through a week ago) now have huge signs saying that any cannabis must be declared.
https://travel.gc.ca/travelling/cannabis-and-international-travel